summaryrefslogtreecommitdiff
path: root/doc/posix-functions/printf.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-01-20 00:09:59 +0100
committerBruno Haible <bruno@clisp.org>2008-01-20 00:09:59 +0100
commit2b6c08c775ae4e80b52aa41058ea5939f778b44b (patch)
treeac9d11e47616b23a9c4feb5e5a19468008b8a770 /doc/posix-functions/printf.texi
parente606e4f86f58f108829f84777e565eebd0a467e7 (diff)
downloadgnulib-2b6c08c775ae4e80b52aa41058ea5939f778b44b.tar.gz
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Diffstat (limited to 'doc/posix-functions/printf.texi')
-rw-r--r--doc/posix-functions/printf.texi51
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi
new file mode 100644
index 0000000000..6ce2c04c21
--- /dev/null
+++ b/doc/posix-functions/printf.texi
@@ -0,0 +1,51 @@
+@node printf
+@section @code{printf}
+@findex printf
+
+POSIX specification: @url{http://www.opengroup.org/susv3xsh/printf.html}
+
+Gnulib module: printf-posix
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function does not support size specifiers as in C99 (@code{hh}, @code{ll},
+@code{j}, @code{t}, @code{z}) on some platforms:
+AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 2006, mingw, BeOS.
+@item
+printf of @samp{long double} numbers is unsupported on some platforms:
+mingw, BeOS.
+@item
+printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
+incorrect result on some platforms:
+AIX 5.2, OSF/1 5.1, Solaris 10, mingw.
+@item
+This function does not support the @samp{a} and @samp{A} directives on some
+platforms:
+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.
+@item
+This function does not support the @samp{F} directive on some platforms:
+NetBSD 3.0, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin, mingw, BeOS.
+@item
+This function does not support format directives that access arguments in an
+arbitrary order, such as @code{"%2$s"}, on some platforms:
+NetBSD 3.0, mingw, BeOS.
+@item
+This function doesn't support the @code{'} flag on some platforms:
+NetBSD 3.0, Cygwin 2006, mingw.
+@item
+printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
+with zeroes) on some platforms:
+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.
+@item
+This function does not support precisions larger than 512 or 1024 in integer,
+floating-point and pointer output on some platforms:
+mingw, BeOS.
+@item
+This function can crash in out-of-memory conditions on some platforms:
+MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@end itemize