X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffscanf.c;h=fbe280b4b6be6b0fc04a78ddb42ab194bc61f026;hb=84d648157e22cecc65902ecfdd4e3a1b88d5e53f;hp=6c0c70b10e7ee2c1f7789666ac835c90a45ed24c;hpb=fce9a8538009ea5c113b03c608cedf036ce4a364;p=pdclib.old diff --git a/functions/stdio/fscanf.c b/functions/stdio/fscanf.c index 6c0c70b..fbe280b 100644 --- a/functions/stdio/fscanf.c +++ b/functions/stdio/fscanf.c @@ -11,7 +11,19 @@ #ifndef REGTEST -int fscanf( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, ... ) +int fscanf_unlocked( FILE * _PDCLIB_restrict stream, + const char * _PDCLIB_restrict format, ... ) +{ + int rc; + va_list ap; + va_start( ap, format ); + rc = vfscanf_unlocked( stream, format, ap ); + va_end( ap ); + return rc; +} + +int fscanf( FILE * _PDCLIB_restrict stream, + const char * _PDCLIB_restrict format, ... ) { int rc; va_list ap;