diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-05-15 22:08:43 +0000 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-05-18 22:39:20 +0000 |
commit | 44757c81afc41d71917f71bd644b2f0092bb4053 (patch) | |
tree | f993347e134e109f425945cce826cd673e135b25 /src/fallback.h | |
parent | d0aa46158796196b79125573703024ae48c6c0dd (diff) |
fallback: remove fwprintf and friends fallbacks
All modern operating systems implement fwprintf, including NetBSD (which
introduced them in 2005).
Work on #2999.
Diffstat (limited to 'src/fallback.h')
-rw-r--r-- | src/fallback.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/fallback.h b/src/fallback.h index 241edb5a..13caf0b3 100644 --- a/src/fallback.h +++ b/src/fallback.h @@ -63,38 +63,6 @@ struct winsize { char *tparm_solaris_kludge(char *str, ...); #endif -#ifndef HAVE_FWPRINTF -/// Print formated string. Some operating systems (Like NetBSD) do not have wide string formating -/// functions. Therefore we implement our own. Not at all complete. Supports wide and narrow -/// characters, strings and decimal numbers, position (%n), field width and precision. -int fwprintf(FILE *f, const wchar_t *format, ...); - -/// Print formated string. Some operating systems (Like NetBSD) do not have wide string formating -/// functions. Therefore we define our own. Not at all complete. Supports wide and narrow -/// characters, strings and decimal numbers, position (%n), field width and precision. -int swprintf(wchar_t *str, size_t l, const wchar_t *format, ...); - -/// Print formated string. Some operating systems (Like NetBSD) do not have wide string formating -/// functions. Therefore we define our own. Not at all complete. Supports wide and narrow -/// characters, strings and decimal numbers, position (%n), field width and precision. -int wprintf(const wchar_t *format, ...); - -/// Print formated string. Some operating systems (Like NetBSD) do not have wide string formating -/// functions. Therefore we define our own. Not at all complete. Supports wide and narrow -/// characters, strings and decimal numbers, position (%n), field width and precision. -int vwprintf(const wchar_t *filter, va_list va); - -/// Print formated string. Some operating systems (Like NetBSD) do not have wide string formating -/// functions. Therefore we define our own. Not at all complete. Supports wide and narrow -/// characters, strings and decimal numbers, position (%n), field width and precision. -int vfwprintf(FILE *f, const wchar_t *filter, va_list va); - -/// Print formated string. Some operating systems (Like NetBSD) do not have wide string formating -/// functions. Therefore we define our own. Not at all complete. Supports wide and narrow -/// characters, strings and decimal numbers, position (%n), field width and precision. -int vswprintf(wchar_t *out, size_t n, const wchar_t *filter, va_list va); -#endif - #ifndef HAVE_FGETWC // Fallback implementation of fgetwc. wint_t fgetwc(FILE *stream); |