summaryrefslogtreecommitdiffstats
path: root/src/include/stdio.h
diff options
context:
space:
mode:
authorMichael Brown2007-06-03 03:50:03 +0200
committerMichael Brown2007-06-03 03:50:03 +0200
commit816c8f3b894e2cedf28e568329b6c69e45aa161e (patch)
tree5967c3c7390d6d8f56eb3ecd0d5c9dfd11b87255 /src/include/stdio.h
parentMove [v]ssnprintf() from iscsi.c into vsprintf.c; we need them (diff)
downloadipxe-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.h5
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
*