Make snprintf() and vsnprintf() conform to C99.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int snprintf(char* buffer, size_t n, const char* format, ...)
|
||||
{
|
||||
int retval;
|
||||
va_list argptr;
|
||||
|
||||
va_start( argptr, format );
|
||||
retval = _vsnprintf( buffer, n, format, argptr );
|
||||
va_end( argptr );
|
||||
return retval;
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int vsnprintf (char* s, size_t n, const char* format, va_list arg)
|
||||
{ return _vsnprintf ( s, n, format, arg); }
|
Reference in New Issue
Block a user