]> pd.if.org Git - pdclib/blob - functions/stdio/vscanf.c
Scrapped seperate testing for vscanf().
[pdclib] / functions / stdio / vscanf.c
1 /* $Id$ */
2
3 /* vscanf( const char *, va_list arg )
4
5    This file is part of the Public Domain C Library (PDCLib).
6    Permission is granted to use, modify, and / or redistribute at will.
7 */
8
9 #include <stdio.h>
10 #include <stdarg.h>
11
12 #ifndef REGTEST
13
14 int vscanf( const char * _PDCLIB_restrict format, _PDCLIB_va_list arg )
15 {
16     return vfscanf( stdin, format, arg );
17 }
18
19 #endif
20
21 #ifdef TEST
22 #include <_PDCLIB_test.h>
23
24 int main( void )
25 {
26     /* Simple wrapper to vfscanf(), no seperate testing. */
27     return TEST_RESULTS;
28 }
29
30 #endif