1 /* vprintf( 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.
12 int vprintf( const char * _PDCLIB_restrict format, _PDCLIB_va_list arg )
14 return vfprintf( stdout, format, arg );
20 #define _PDCLIB_FILEID "stdio/vprintf.c"
21 #define _PDCLIB_FILEIO
24 #include "_PDCLIB_test.h"
26 static int testprintf( FILE * stream, const char * format, ... )
30 va_start( arg, format );
31 i = vprintf( format, arg );
39 TESTCASE( ( target = freopen( testfile, "wb+", stdout ) ) != NULL );
40 #include "printf_testcases.h"
41 TESTCASE( fclose( target ) == 0 );
42 TESTCASE( remove( testfile ) == 0 );