ref: 1a90e04c056c02aee0d14eed46312e1289efbf73
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; }