mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
68143964a3
* lib/stdio.in.h (_GL_ATTRIBUTE_DEALLOC_FREE): New macro, copied from lib/string.in.h. (free, rpl_free): Define as in lib/string.in.h. (aprintf, vaprintf): New declarations. * lib/vaprintf.c: New file, based on lib/xvasprintf.c. * lib/aprintf.c: New file, based on lib/xasprintf.c. * m4/stdio_h.m4 (gl_STDIO_H_REQUIRE_DEFAULTS): Initialize GNULIB_VAPRINTF. Require gl_STDLIB_H_REQUIRE_DEFAULTS. * modules/stdio-h (Depends-on): Add stdlib-h. (Makefile.am): Substitute GNULIB_VAPRINTF, GNULIB_FREE_POSIX, REPLACE_FREE. * modules/vaprintf: New file.
32 lines
408 B
Plaintext
32 lines
408 B
Plaintext
Description:
|
|
Simplified variant of vasprintf and asprintf.
|
|
|
|
Files:
|
|
lib/vaprintf.c
|
|
lib/aprintf.c
|
|
|
|
Depends-on:
|
|
stdio-h
|
|
vaszprintf
|
|
malloc-posix
|
|
xsize
|
|
stdarg-h
|
|
errno-h
|
|
|
|
configure.ac:
|
|
gl_STDIO_MODULE_INDICATOR([vaprintf])
|
|
m4_ifdef([AM_XGETTEXT_OPTION],
|
|
[AM_][XGETTEXT_OPTION([--flag=aprintf:1:c-format])])
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += vaprintf.c aprintf.c
|
|
|
|
Include:
|
|
<stdio.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|