ref: 3f0f52ab69a8e821fcd1ac66b8d509ee3074c266
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; }