Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/stdio/vscanf.c')
-rw-r--r--winsup/mingw/mingwex/stdio/vscanf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/stdio/vscanf.c b/winsup/mingw/mingwex/stdio/vscanf.c
new file mode 100644
index 000000000..53f543442
--- /dev/null
+++ b/winsup/mingw/mingwex/stdio/vscanf.c
@@ -0,0 +1,9 @@
+// By aaronwl 2003-01-28 for mingw-msvcrt
+// Public domain: all copyrights disclaimed, absolutely no warranties
+
+#include <stdarg.h>
+#include <stdio.h>
+
+int vscanf(const char * __restrict__ format, va_list arg) {
+ return vfscanf(stdin, format, arg);
+}