ref: c8600d1f7e7ba50027ff3b5d62c7511efecfb7f0
dir: /sys/src/libstdio/scanf.c/
/*
* pANS stdio -- scanf
*/
#include "iolib.h"
int scanf(const char *fmt, ...){
int n;
va_list args;
va_start(args, fmt);
n=vfscanf(stdin, fmt, args);
va_end(args);
return n;
}