Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/ape/lib/ap/stdio/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; }