mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-24 10:23:54 +08:00
db8279fb3c
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4019 4407c894-4637-0410-b4f5-ada5f102cad1
22 lines
392 B
C
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;
|
|
}
|
|
|