2 @subsection @code{vasprintf}
5 Gnulib module: vasprintf or vasprintf-posix
7 Portability problems fixed by either Gnulib module @code{vasprintf} or @code{vasprintf-posix}:
10 This function is missing on some platforms:
11 AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw, MSVC 14, Interix 3.5.
14 Portability problems fixed by Gnulib module @code{vasprintf-posix}:
17 This function does not support size specifiers as in C99 (@code{hh}, @code{ll},
18 @code{j}, @code{t}, @code{z}) on some platforms:
21 printf of @samp{long double} numbers is unsupported on some platforms:
24 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
25 incorrect result on some platforms:
28 This function does not support the @samp{a} and @samp{A} directives on some
30 glibc-2.3.6, Mac OS X 10.5, NetBSD 5.0, OpenBSD 4.0, Solaris 11.4, Cygwin 1.5.x, BeOS.
32 This function does not support the @samp{F} directive on some platforms:
33 NetBSD 3.0, Cygwin 1.5.x, BeOS.
35 This function does not support the @samp{ls} directive on some platforms:
36 OpenBSD 4.0, Cygwin 1.5.x, Haiku.
38 This function does not support precisions in the @samp{ls} directive correctly
42 This function does not support format directives that access arguments in an
43 arbitrary order, such as @code{"%2$s"}, on some platforms:
46 This function doesn't support the @code{'} flag on some platforms:
47 NetBSD 3.0, Cygwin 1.5.24.
49 This function does not round the argument of the @samp{a} directive correctly
51 Mac OS X 10.12, FreeBSD 6.1.
53 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
54 with zeroes) on some platforms:
55 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, Solaris 11.0, Cygwin 1.5.x.
57 This function does not support precisions larger than 512 or 1024 in integer,
58 floating-point and pointer output on some platforms:
61 This function can crash in out-of-memory conditions on some platforms:
62 Mac OS X 10.3, FreeBSD 6.0, NetBSD 5.0.
65 Portability problems not fixed by Gnulib:
68 The @code{%m} directive is not portable, use @code{%s} mapped to an
69 argument of @code{strerror(errno)} (or a version of @code{strerror_r})