1 /* vsprintf( char *, const char *, va_list )
3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
13 int vsprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, va_list arg )
15 return vsnprintf( s, SIZE_MAX, format, arg ); /* TODO: Replace with a non-checking call */
21 #define _PDCLIB_FILEID "stdio/vsprintf.c"
22 #define _PDCLIB_STRINGIO
24 #include "_PDCLIB_test.h"
26 static int testprintf( char * s, const char * format, ... )
30 va_start( arg, format );
31 i = vsprintf( s, format, arg );
39 #include "printf_testcases.h"