X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fvscanf.c;fp=functions%2Fstdio%2Fvscanf.c;h=3adde22e0868bd5d65cfdd7b17a33d865eea82b7;hb=12e17136786afb1775c9dc946cbe41f5e230c24a;hp=0000000000000000000000000000000000000000;hpb=9489b93733c00be5a94e2ee5b349457c78184a1a;p=pdclib.old diff --git a/functions/stdio/vscanf.c b/functions/stdio/vscanf.c new file mode 100644 index 0000000..3adde22 --- /dev/null +++ b/functions/stdio/vscanf.c @@ -0,0 +1,32 @@ +/* $Id$ */ + +/* Release $Name$ */ + +/* vscanf( const char *, va_list arg ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#include +#include + +#ifndef REGTEST + +int vscanf( const char * _PDCLIB_restrict format, _PDCLIB_va_list arg ) +{ + return vfscanf( stdin, format, arg ); +} + +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + TESTCASE( NO_TESTDRIVER ); + return TEST_RESULTS; +} + +#endif