]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libstdio/fscanf.c
test: use libc.h constants for access() mode (thanks qrstuv)
[plan9front.git] / sys / src / libstdio / fscanf.c
1 /*
2  * pANS stdio -- fscanf
3  */
4 #include "iolib.h"
5 int fscanf(FILE *f, const char *fmt, ...){
6         int n;
7         va_list args;
8         va_start(args, fmt);
9         n=vfscanf(f, fmt, args);
10         va_end(args);
11         return n;
12 }