3 /* vsprintf( char *, const char *, va_list ap )
5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
15 int vsprintf( char * _PDCLIB_restrict s,
16 const char * _PDCLIB_restrict format,
19 return vsnprintf( s, SIZE_MAX, format, arg ); /* TODO: Replace with a non-checking call */
25 #define _PDCLIB_FILEID "stdio/vsprintf.c"
26 #define _PDCLIB_STRINGIO
29 #include <_PDCLIB_test.h>
31 static int testprintf( char * s, const char * format, ... )
35 va_start( arg, format );
36 i = vsprintf( s, format, arg );
44 #include "printf_testcases.h"