X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fsscanf.c;h=9103aaba6b8de2a331bfbf3f56d950315f9623c7;hp=ffe1475c4cb849c433e4ff2f399456b193588ee6;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdio/sscanf.c b/functions/stdio/sscanf.c index ffe1475..9103aab 100644 --- a/functions/stdio/sscanf.c +++ b/functions/stdio/sscanf.c @@ -1,8 +1,20 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * --------------------------------------------------------------------------*/ int sscanf( const char * restrict s, const char * restrict format, ... ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + va_list arg; + int ret; + + va_start(arg, format); + ret = vvscanf(format, arg, NULL, s); + va_end(arg); + return (ret); +} +*/