Annotation of coherent/b/lib/libc/stdio/fscanf.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * libc/stdio/fscanf.c
                      3:  * ANSI-compliant C standard i/o library.
                      4:  * fscanf()
                      5:  * ANSI 4.9.6.2.
                      6:  * Formatted input from FILE.
                      7:  */
                      8: 
                      9: #include <stdio.h>
                     10: #include <stdarg.h>
                     11: #include <stdlib.h>
                     12: 
                     13: int
                     14: fscanf(stream, format) FILE *stream; const char *format;
                     15: {
                     16:        va_list args;
                     17:        int     count;
                     18: 
                     19:        va_start(args, format);
                     20:        count = _scanf(stream, format, args);
                     21:        va_end(args);
                     22:        return count;
                     23: }
                     24: 
                     25: /* end of libc/stdio/fscanf.c */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.