[OpenBIOS] r191 - openbios-devel/include/libc

svn at openbios.org svn at openbios.org
Mon Jul 7 20:37:24 CEST 2008


Author: blueswirl
Date: 2008-07-07 20:37:24 +0200 (Mon, 07 Jul 2008)
New Revision: 191

Modified:
   openbios-devel/include/libc/vsprintf.h
Log:
Add prototypes for [v]snprintf

Modified: openbios-devel/include/libc/vsprintf.h
===================================================================
--- openbios-devel/include/libc/vsprintf.h	2008-07-07 18:36:16 UTC (rev 190)
+++ openbios-devel/include/libc/vsprintf.h	2008-07-07 18:37:24 UTC (rev 191)
@@ -18,7 +18,11 @@
 #define _H_VSPRINTF
 
 #include <stdarg.h>
+#include "openbios/config.h"
+
 extern int	vsprintf(char *buf, const char *fmt, va_list args );
 extern int	sprintf(char * buf, const char *fmt, ...);
+extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
+extern int snprintf(char * buf, size_t size, const char *fmt, ...);
 
 #endif   /* _H_VSPRINTF */




More information about the OpenBIOS mailing list