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
25 #include "_PDCLIB_test.h"
27 static int testprintf( char * s, const char * format, ... )
31 va_start( arg, format );
32 i = vsprintf( s, format, arg );
40 #include "printf_testcases.h"