Annotation of coherent/b/lib/libc/XSTDIO/fprintf.c, revision 1.1.1.1

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

unix.superglobalmegacorp.com

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