mingw-w64/mingw-w64-crt/stdio/mingw_fscanf.c
Kai Tietz db8279fb3c Test
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4019 4407c894-4637-0410-b4f5-ada5f102cad1
2011-02-04 21:00:14 +00:00

22 lines
392 B
C

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
extern int __mingw_vfscanf (FILE *stream, const char *format, va_list argp);
int __mingw_fscanf (FILE *stream, const char *format, ...);
int
__mingw_fscanf (FILE *stream, const char *format, ...)
{
va_list argp;
int r;
va_start (argp, format);
r = __mingw_vfscanf (stream, format, argp);
va_end (argp);
return r;
}