1 /* vsprintf( char *, const char *, va_list ap )
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,
14 const char * _PDCLIB_restrict format,
17 return vsnprintf( s, SIZE_MAX, format, arg ); /* TODO: Replace with a non-checking call */
23 #define _PDCLIB_FILEID "stdio/vsprintf.c"
24 #define _PDCLIB_STRINGIO
27 #include <_PDCLIB_test.h>
29 static int testprintf( char * s, const char * format, ... )
33 va_start( arg, format );
34 i = vsprintf( s, format, arg );
42 #include "printf_testcases.h"