diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-06-03 01:50:03 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-06-03 01:50:03 +0000 |
commit | 816c8f3b894e2cedf28e568329b6c69e45aa161e (patch) | |
tree | 5967c3c7390d6d8f56eb3ecd0d5c9dfd11b87255 /src/include/stdio.h | |
parent | 335b99a39d468c7671f584bee362856cf5c2ed99 (diff) | |
download | ipxe-816c8f3b894e2cedf28e568329b6c69e45aa161e.zip ipxe-816c8f3b894e2cedf28e568329b6c69e45aa161e.tar.gz ipxe-816c8f3b894e2cedf28e568329b6c69e45aa161e.tar.bz2 |
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 169cfd9..82077e2 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 * |