]> pd.if.org Git - pdclib/blob - functions/stdio/sscanf.c
Removed the $Name$ tags (not supported by SVN). Added $Id$ to Makefile / text files.
[pdclib] / functions / stdio / sscanf.c
1 /* $Id$ */
2
3 /* sscanf( const char *, const char *, ... )
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 sscanf( const char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, ... )
15 {
16     va_list ap;
17     va_start( ap, format );
18     return vsscanf( s, format, ap );
19 }
20
21 #endif
22
23 #ifdef TEST
24 #include <_PDCLIB_test.h>
25
26 int main( void )
27 {
28     TESTCASE( NO_TESTDRIVER );
29     return TEST_RESULTS;
30 }
31
32 #endif