3 /* vprintf( const char *, va_list arg )
5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
14 int vprintf( const char * _PDCLIB_restrict format, _PDCLIB_va_list arg )
16 return vfprintf( stdout, format, arg );
22 #define _PDCLIB_FILEID "stdio/vprintf.c"
23 #define FPRINTF_FUNCTION
26 #include <_PDCLIB_test.h>
28 static int testprintf( FILE * stream, const char * format, ... )
32 va_start( arg, format );
33 i = vprintf( format, arg );
41 TESTCASE( ( target = freopen( testfile, "wb+", stdout ) ) != NULL );
42 #include "printf_testcases.incl"
43 TESTCASE( fclose( target ) == 0 );
44 TESTCASE( remove( testfile ) == 0 );