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