string-buffer tests: Avoid test failure on native Windows.
[gnulib.git] / doc / posix-functions / vfwprintf.texi
blobe92f3e08c7a3cfbec619d4e0d70e0eb90472ac8a
1 @node vfwprintf
2 @subsection @code{vfwprintf}
3 @findex vfwprintf
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfwprintf.html}
7 Gnulib module: ---
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function is missing on some platforms:
17 NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11.00, Cygwin 1.5.x.
18 @item
19 On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot
20 accommodate all Unicode characters.
21 @item
22 This function does not support size specifiers as in C23 (@code{w8},
23 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
24 @code{wf64}) on some platforms:
25 glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
26 @item
27 This function does not support the @samp{b} directive, required by ISO C23,
28 on some platforms:
29 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
30 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
31 @item
32 This function does not support the @samp{B} directive on some platforms:
33 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
34 @item
35 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
36 incorrect result (non-empty) on some platforms:
37 Mac OS X 10.6.
38 @item
39 The @code{%m} directive is not portable, use @code{%s} mapped to an
40 argument of @code{strerror(errno)} (or a version of @code{strerror_r})
41 instead.
42 @item
43 In the C or POSIX locales, the @code{%c} and @code{%s} conversions may fail
44 on some platforms:
45 glibc 2.35.
46 @item
47 When formatting an integer with grouping flag, this function inserts thousands
48 separators even in the "C" locale on some platforms:
49 NetBSD 5.1.
50 @item
51 On some platforms, this function does not set @code{errno} or the
52 stream error indicator on attempts to write to a read-only stream:
53 Cygwin 1.7.9.
54 @end itemize