2011-02-12 00:22:29 -05:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2012-09-06 22:44:55 -04:00
|
|
|
int fscanf(FILE *restrict f, const char *restrict fmt, ...)
|
2011-02-12 00:22:29 -05:00
|
|
|
{
|
|
|
|
int ret;
|
|
|
|
va_list ap;
|
|
|
|
va_start(ap, fmt);
|
|
|
|
ret = vfscanf(f, fmt, ap);
|
|
|
|
va_end(ap);
|
|
|
|
return ret;
|
|
|
|
}
|