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
23 #include <_PDCLIB_test.h>
25 static int testprintf( FILE * stream, const char * format, ... )
29 va_start( arg, format );
30 i = vprintf( format, arg );
38 TESTCASE( ( target = freopen( testfile, "wb+", stdout ) ) != NULL );
39 #include "printf_testcases.h"
40 TESTCASE( fclose( target ) == 0 );
41 TESTCASE( remove( testfile ) == 0 );