]> pd.if.org Git - pdclib/blobdiff - functions/stdio/vfscanf.c
Porting current working set from CVS.
[pdclib] / functions / stdio / vfscanf.c
diff --git a/functions/stdio/vfscanf.c b/functions/stdio/vfscanf.c
new file mode 100644 (file)
index 0000000..1cfea64
--- /dev/null
@@ -0,0 +1,33 @@
+/* $Id$ */
+
+/* Release $Name$ */
+
+/* vfscanf( FILE *, const char *, va_list )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#include <stdio.h>
+#include <stdarg.h>
+
+#ifndef REGTEST
+
+int vfscanf( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, va_list arg )
+{
+    /* TODO: Implement using vsscanf() reading from file buffer */
+    return 0;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    TESTCASE( NO_TESTDRIVER );
+    return TEST_RESULTS;
+}
+
+#endif