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