]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/fscanf.c
Reset SVN properties. Temporarily removed fscanf() test driver.
[pdclib.old] / functions / stdio / fscanf.c
index f680076b28c425476109789a90fe70733e5fddd5..f45db49dcbc2954cf585ec801dd63601afd52810 100644 (file)
 
 int fscanf( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, ... )
 {
+    int rc;
     va_list ap;
     va_start( ap, format );
-    return vfscanf( stream, format, ap );
+    rc = vfscanf( stream, format, ap );
+    va_end( ap );
+    return rc;
 }
 
 #endif
@@ -25,6 +28,8 @@ int fscanf( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format
 
 int main( void )
 {
+    /* FILE * fp = fopen( "functions/stdio/testfile.txt", "rb" ); */
+
     TESTCASE( NO_TESTDRIVER );
     return TEST_RESULTS;
 }