ref: 08a9a6952dfa9ace5b4ae6fa1614c97d4a945ece
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; }