|
|
1.1 ! root 1: /* ! 2: * libc/stdio/scanf.c ! 3: * ANSI-compliant C standard i/o library. ! 4: * scanf() ! 5: * ANSI 4.9.6.4. ! 6: * Formatted input from standard input. ! 7: */ ! 8: ! 9: #include <stdio.h> ! 10: #include <stdarg.h> ! 11: #include <stdlib.h> ! 12: ! 13: int ! 14: scanf(format) const char *format; ! 15: { ! 16: va_list args; ! 17: int count; ! 18: ! 19: va_start(args, format); ! 20: count = _scanf(stdin, format, args); ! 21: va_end(args); ! 22: return count; ! 23: } ! 24: ! 25: /* end of libc/stdio/scanf.c */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.