1 /* vscanf( 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 vscanf( const char * _PDCLIB_restrict format, _PDCLIB_va_list arg )
14 return vfscanf( stdin, format, arg );
20 #define _PDCLIB_FILEID "stdio/vscanf.c"
21 #define _PDCLIB_FILEIO
23 #include "_PDCLIB_test.h"
25 static int testscanf( FILE * stream, const char * format, ... )
29 va_start( arg, format );
30 i = vscanf( format, arg );
38 TESTCASE( ( source = freopen( testfile, "wb+", stdin ) ) != NULL );
39 #include "scanf_testcases.h"
40 TESTCASE( fclose( source ) == 0 );
41 TESTCASE( remove( testfile ) == 0 );