[klibc] asprintf/vasprintf in stdlib.h

Thayne Harbaugh tharbaugh at lnxi.com
Thu Oct 21 16:39:14 PDT 2004


Add asprintf()/vasprintf() to stdlib.h

diff -uNr klibc-0.188/include/stdio.h udev-040/klibc-0.188/include/stdio.h
--- klibc-0.188/include/stdio.h 2004-10-19 12:16:48.000000000 -0600
+++ udev-040/klibc-0.188/include/stdio.h        2004-10-21 14:25:02.725984816 -0600
@@ -120,4 +120,11 @@

 __extern int rename(const char *, const char *);

+
+#ifdef _GNU_SOURCE
+__extern int asprintf(char **, const char *, ...);
+__extern int vasprintf(char **, const char *, va_list);
+#endif /* GNU_SOURCE */
+
+
 #endif /* _STDIO_H */


-- 
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20041021/4156e795/attachment.bin


More information about the klibc mailing list