]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libstdio/scanf.c
libregexp: improve the transition to next available thread, instruction, and generation
[plan9front.git] / sys / src / libstdio / scanf.c
1 /*
2  * pANS stdio -- scanf
3  */
4 #include "iolib.h"
5 int scanf(const char *fmt, ...){
6         int n;
7         va_list args;
8         va_start(args, fmt);
9         n=vfscanf(stdin, fmt, args);
10         va_end(args);
11         return n;
12 }