diff options
author | Michael Brown | 2007-06-03 03:50:03 +0200 |
---|---|---|
committer | Michael Brown | 2007-06-03 03:50:03 +0200 |
commit | 816c8f3b894e2cedf28e568329b6c69e45aa161e (patch) | |
tree | 5967c3c7390d6d8f56eb3ecd0d5c9dfd11b87255 /src/include/stdio.h | |
parent | Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them (diff) | |
download | ipxe-816c8f3b894e2cedf28e568329b6c69e45aa161e.tar.gz ipxe-816c8f3b894e2cedf28e568329b6c69e45aa161e.tar.xz ipxe-816c8f3b894e2cedf28e568329b6c69e45aa161e.zip |
Added [v]asprintf()
Diffstat (limited to 'src/include/stdio.h')
-rw-r--r-- | src/include/stdio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/stdio.h b/src/include/stdio.h index 169cfd9e..82077e20 100644 --- a/src/include/stdio.h +++ b/src/include/stdio.h @@ -10,10 +10,15 @@ printf ( const char *fmt, ... ); extern int __attribute__ (( format ( printf, 3, 4 ) )) snprintf ( char *buf, size_t size, const char *fmt, ... ); +extern int __attribute__ (( format ( printf, 2, 3 ) )) +asprintf ( char **strp, const char *fmt, ... ); + extern int vprintf ( const char *fmt, va_list args ); extern int vsnprintf ( char *buf, size_t size, const char *fmt, va_list args ); +extern int vasprintf ( char **strp, const char *fmt, va_list args ); + /** * Write a formatted string to a buffer * |