summaryrefslogtreecommitdiff
path: root/modules/vdprintf-gnu
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-24 12:00:23 +0100
committerBruno Haible <bruno@clisp.org>2023-03-24 12:00:23 +0100
commit459992e2602eb90fb7d62960a605a5245f522148 (patch)
treed085d29f0929c736527875843096745d64d37848 /modules/vdprintf-gnu
parent6a8aeae6854226579bbd42a496e8a07f4d8bb8ec (diff)
downloadgnulib-459992e2602eb90fb7d62960a605a5245f522148.tar.gz
vdprintf-gnu: New module.
* m4/vdprintf-posix.m4 (gl_FUNC_VDPRINTF_IS_POSIX): New macro, extracted from gl_FUNC_VDPRINTF_POSIX. (gl_FUNC_VDPRINTF_POSIX): Require it. Invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. * m4/vdprintf-gnu.m4: New file, based on m4/vdprintf-posix.m4. * modules/vdprintf-gnu: New file, based on modules/vasnprintf-gnu. * doc/posix-functions/vdprintf.texi: Mention the new module.
Diffstat (limited to 'modules/vdprintf-gnu')
-rw-r--r--modules/vdprintf-gnu29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/vdprintf-gnu b/modules/vdprintf-gnu
new file mode 100644
index 0000000000..b7bbb74fbe
--- /dev/null
+++ b/modules/vdprintf-gnu
@@ -0,0 +1,29 @@
+Description:
+POSIX and GNU compatible vdprintf() function: print formatted output to a file
+descriptor
+
+Comment:
+This module should not be used as a dependency from a test module,
+otherwise when this module occurs as a tests-related module, it will
+have side effects on the compilation of the 'vasnprintf' module, if
+that module occurs among the main modules in lib/.
+
+Files:
+m4/vdprintf-gnu.m4
+
+Depends-on:
+vdprintf-posix
+
+configure.ac:
+gl_FUNC_VDPRINTF_GNU
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+all