Add support for 'long double' number output.
[gnulib.git] / doc / functions / vsprintf.texi
1 @node vsprintf
2 @section @code{vsprintf}
3 @findex vsprintf
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/vsprintf.html}
6
7 Gnulib module: vsprintf-posix
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function does not support size specifiers as in C99 (@code{hh}, @code{ll},
13 @code{j}, @code{t}, @code{z}) on some platforms:
14 AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 2006, mingw, BeOS.
15 @item
16 printf of @samp{long double} numbers is unsupported on some platforms:
17 mingw, BeOS.
18 @item
19 This function does not support the @samp{a} and @samp{A} directives on some
20 platforms:
21 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.
22 @item
23 This function does not support the @samp{F} directive on some platforms:
24 NetBSD 3.0, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin, mingw, BeOS.
25 @item
26 This function does not support format directives that access arguments in an
27 arbitrary order, such as @code{"%2$s"}, on some platforms:
28 NetBSD 3.0, mingw, BeOS.
29 @item
30 This function doesn't support the @code{'} flag on some platforms:
31 NetBSD 3.0, Cygwin 2006, mingw.
32 @item
33 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
34 with zeroes) on some platforms:
35 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, AIX 5.2, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 2007, mingw.
36 @end itemize
37
38 Portability problems not fixed by Gnulib:
39 @itemize
40 @end itemize