]> pd.if.org Git - pdclib/blob - functions/stdio/sscanf.c
Porting current working set from CVS.
[pdclib] / functions / stdio / sscanf.c
1 /* $Id$ */
2
3 /* Release $Name$ */
4
5 /* sscanf( const char *, const char *, ... )
6
7    This file is part of the Public Domain C Library (PDCLib).
8    Permission is granted to use, modify, and / or redistribute at will.
9 */
10
11 #include <stdio.h>
12 #include <stdarg.h>
13
14 #ifndef REGTEST
15
16 int sscanf( const char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, ... )
17 {
18     va_list ap;
19     va_start( ap, format );
20     return vsscanf( s, format, ap );
21 }
22
23 #endif
24
25 #ifdef TEST
26 #include <_PDCLIB_test.h>
27
28 int main( void )
29 {
30     TESTCASE( NO_TESTDRIVER );
31     return TEST_RESULTS;
32 }
33
34 #endif