summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-24 12:04:20 +0100
committerBruno Haible <bruno@clisp.org>2023-03-24 12:04:20 +0100
commit75e63081831ef07462ce9f8d9f82865486db52e2 (patch)
treed95b3c98bfc932925d03145bf785d13d5bb02f28 /doc
parenta8fa5b6d61c15ac945625d12c28aeb8258533188 (diff)
downloadgnulib-75e63081831ef07462ce9f8d9f82865486db52e2.tar.gz
dprintf-gnu: New module.
* m4/dprintf-posix.m4 (gl_FUNC_DPRINTF_IS_POSIX): New macro, extracted from gl_FUNC_DPRINTF_POSIX. (gl_FUNC_DPRINTF_POSIX): Require it. Invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. * m4/dprintf-gnu.m4: New file, based on m4/dprintf-posix.m4. * modules/dprintf-gnu: New file, based on modules/vasnprintf-gnu. * doc/posix-functions/dprintf.texi: Mention the new module.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/dprintf.texi13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi
index 09e308c33b..54953d04a3 100644
--- a/doc/posix-functions/dprintf.texi
+++ b/doc/posix-functions/dprintf.texi
@@ -4,16 +4,16 @@
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/dprintf.html}
-Gnulib module: dprintf or dprintf-posix
+Gnulib module: dprintf or dprintf-posix or dprintf-gnu
-Portability problems fixed by either Gnulib module @code{dprintf} or @code{dprintf-posix}:
+Portability problems fixed by either Gnulib module @code{dprintf} or @code{dprintf-posix} or @code{dprintf-gnu}:
@itemize
@item
This function is missing on many non-glibc platforms:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.3, Cygwin 1.5.x, mingw, MSVC 14.
@end itemize
-Portability problems fixed by Gnulib module @code{dprintf-posix}:
+Portability problems fixed by either Gnulib module @code{dprintf-posix} or @code{dprintf-gnu}:
@itemize
@item
printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
@@ -50,6 +50,13 @@ wide character argument on some platforms:
glibc 2.35, FreeBSD 13.1, NetBSD 9.0, OpenBSD 7.2, macOS 12.5, AIX 7.2, Solaris 11.4, and others.
@end itemize
+Portability problems fixed by Gnulib module @code{dprintf-gnu}:
+@itemize
+@item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, FreeBSD 13.1, NetBSD 9.0, OpenBSD 7.2, macOS 12.5, AIX 7.2, Solaris 11.4, and others.
+@end itemize
+
Portability problems not fixed by Gnulib:
@itemize
@item