2 @section @code{vsnprintf}
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/vsnprintf.html}
7 Gnulib module: vsnprintf or vsnprintf-posix
9 Portability problems fixed by either Gnulib module @code{vsnprintf} or @code{vsnprintf-posix}:
12 This function is missing on some platforms:
13 OSF/1 4.0, Solaris 2.5.1.
16 Portability problems fixed by Gnulib module @code{vsnprintf-posix}:
19 This function does not support size specifiers as in C99 (@code{hh}, @code{ll},
20 @code{j}, @code{t}, @code{z}) on some platforms:
21 AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 2006, mingw, BeOS.
23 This function does not support the @samp{a} and @samp{A} directives on some
25 glibc-2.3.6, MacOS X 10.3, NetBSD 3.0, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, BeOS.
27 This function does not support the @samp{F} directive on some platforms:
28 NetBSD 3.0, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin, mingw, BeOS.
30 This function does not support format directives that access arguments in an
31 arbitrary order, such as @code{"%2$s"}, on some platforms:
32 NetBSD 3.0, mingw, BeOS.
34 This function doesn't support the @code{'} flag on some platforms:
37 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
38 with zeroes) on some platforms:
39 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, AIX 5.2, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw.
41 This function does not truncate the result as specified in C99 on some platforms:
44 This function does not return a byte count as specified in C99 on some platforms:
45 HP-UX 11, IRIX 6.5, OSF/1 5.1, mingw.
47 This function does not fully support the @samp{n} directive on some platforms:
50 This function overwrites memory even when a zero size argument is passed on some
55 Portability problems not fixed by Gnulib:
58 printf of @samp{long double} numbers is unsupported on some platforms: