3 /* fprintf( FILE *, const char *, ... )
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 fprintf( struct _PDCLIB_file_t * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, ... )
18 va_start( ap, format );
19 rc = vfprintf( stream, format, ap );
29 #include <_PDCLIB_test.h>
31 #define testprintf( stream, n, format, ... ) fprintf( stream, format, __VA_ARGS__ )
36 TESTCASE( ( buffer = fopen( "testfile", "wb" ) ) != NULL );
37 #include "printf_testcases.incl"
38 TESTCASE( fclose( buffer ) == 0 );
39 #include "fprintf_reftest.incl"