avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / vprintf.texi
1 @node vprintf
2 @section @code{vprintf}
3 @findex vprintf
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/vprintf.html}
6
7 Gnulib module: vprintf-posix or stdio, sigpipe
8
9 Portability problems fixed by Gnulib module @code{vprintf-posix}:
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 1.5.24, mingw, BeOS.
15 @item
16 printf of @samp{long double} numbers is unsupported on some platforms:
17 mingw, BeOS.
18 @item
19 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
20 incorrect result on some platforms:
21 AIX 5.2, OSF/1 5.1, Solaris 10, mingw.
22 @item
23 This function does not support the @samp{a} and @samp{A} directives on some
24 platforms:
25 glibc-2.3.6, MacOS X 10.3, NetBSD 3.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
26 IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, BeOS.
27 @item
28 This function does not support the @samp{F} directive on some platforms:
29 NetBSD 3.0, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9,
30 Cygwin 1.5.x, mingw, BeOS.
31 @item
32 This function does not support the @samp{ls} directive on some platforms:
33 OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Cygwin 1.5.x, Haiku.
34 @item
35 This function does not support precisions in the @samp{ls} directive correctly
36 on some platforms:
37 Solaris 10.
38 @item
39 This function does not support format directives that access arguments in an
40 arbitrary order, such as @code{"%2$s"}, on some platforms:
41 NetBSD 3.0, mingw, BeOS.
42 @item
43 This function doesn't support the @code{'} flag on some platforms:
44 NetBSD 3.0, Cygwin 1.5.24, mingw.
45 @item
46 This function behaves incorrectly when a @samp{-} flag and a negative width
47 are specified together, on some platforms:
48 HP-UX 10.20.
49 @item
50 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
51 with zeroes) on some platforms:
52 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, AIX 5.2, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw.
53 @item
54 This function does not support precisions larger than 512 or 1024 in integer,
55 floating-point and pointer output on some platforms:
56 mingw, BeOS.
57 @item
58 This function can crash in out-of-memory conditions on some platforms:
59 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0.
60 @end itemize
61
62 Portability problems fixed by Gnulib module @code{stdio} or @code{vprintf-posix}, together with module @code{sigpipe}:
63 @itemize
64 @item
65 When writing to a pipe with no readers, this function fails, instead of
66 obeying the current @code{SIGPIPE} handler, on some platforms:
67 mingw.
68 @end itemize
69
70 Portability problems not fixed by Gnulib:
71 @itemize
72 @end itemize