diff options
author | Eric Blake <ebb9@byu.net> | 2008-06-13 06:40:53 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-06-13 07:34:22 -0600 |
commit | 7a8101a246b1c7aa64cd2f95ad2a43a2bf2ee891 (patch) | |
tree | e95a6fb4b0e60a0dd0bb7ea47cb50ff878f1fe03 /modules/obstack-printf | |
parent | 7b6a0e8c156cd2bf1cea3d467820fd5acf626e71 (diff) | |
download | gnulib-7a8101a246b1c7aa64cd2f95ad2a43a2bf2ee891.tar.gz |
Add obstack-printf and obstack-printf-posix modules.
* modules/obstack-printf: New file.
* modules/obstack-printf-posix: Likewise.
* MODULES.html.sh (Misc): Mention them.
* doc/glibc-functions/obstack_printf.texi (obstack_printf):
Likewise.
* doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
Likewise.
* modules/stdio (Makefile.am): Accomodate new modules.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* lib/stdio.in.h (rpl_obstack_printf, rpl_obstack_vprintf):
Declare.
* lib/obstack_printf.c (obstack_printf, obstack_vprintf): New
functions.
* m4/obstack-printf.m4 (gl_OBSTACK_PRINTF)
(gl_REPLACE_OBSTACK_PRINTF): New macros
* m4/obstack-printf-posix.m4 (gl_OBSTACK_PRINTF_POSIX): Likewise.
* tests/test-obstack-printf.c: New file.
* modules/obstack-printf-tests: Likewise.
* modules/obstack-printf-posix-tests: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/obstack-printf')
-rw-r--r-- | modules/obstack-printf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/obstack-printf b/modules/obstack-printf new file mode 100644 index 0000000000..44414b7fa1 --- /dev/null +++ b/modules/obstack-printf @@ -0,0 +1,27 @@ +Description: +Formatted printing into an obstack. + +Files: +m4/obstack-printf.m4 +lib/obstack_printf.c + +Depends-on: +obstack +stdio +vasnprintf + +configure.ac: +gl_FUNC_OBSTACK_PRINTF +gl_STDIO_MODULE_INDICATOR([obstack-printf]) + +Makefile.am: + +Include: +"obstack.h" +<stdio.h> + +License: +GPL + +Maintainer: +Eric Blake |