-/* $Id$ */
-
/* vfscanf( FILE *, const char *, va_list )
This file is part of the Public Domain C Library (PDCLib).
{
++status.i;
}
- if ( ! feof( stream ) ) /* TODO: Check EOF status directly */
+ if ( ! feof( stream ) )
{
ungetc( c, stream );
}
else
{
/* Non-whitespace char in format string: Match verbatim */
- if ( ( ( c = getc( stream ) ) != *format ) || feof( stream ) ) /* TODO: Check EOF status directly */
+ if ( ( ( c = getc( stream ) ) != *format ) || feof( stream ) )
{
/* Matching error */
- if ( ! feof( stream ) && ! ferror( stream ) ) /* TODO: Check EOF status directly */
+ if ( ! feof( stream ) && ! ferror( stream ) )
{
ungetc( c, stream );
}
#define _PDCLIB_FILEID "stdio/vfscanf.c"
#define _PDCLIB_FILEIO
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
static int testscanf( FILE * stream, char const * format, ... )
{
}
#endif
-