]> pd.if.org Git - pdclib/blobdiff - functions/stdio/scanf.c
PDCLIB-16: Add _unlocked variations of all I/O routines; move work into these versions
[pdclib] / functions / stdio / scanf.c
index 41501bc0a735c5b77c3ddf04b8f919e13fd377d5..e11ccbd653067908b8b7f7756ff3b0957ed0a803 100644 (file)
 
 #ifndef REGTEST
 
+int scanf_unlocked( const char * _PDCLIB_restrict format, ... )
+{
+    va_list ap;
+    va_start( ap, format );
+    return vfscanf_unlocked( stdin, format, ap );
+}
+
 int scanf( const char * _PDCLIB_restrict format, ... )
 {
     va_list ap;