source:
EcnlProtoTool/trunk/musl-1.1.18/src/stdio/sprintf.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 203 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include <stdarg.h> |
3 | |
4 | int sprintf(char *restrict s, const char *restrict fmt, ...) |
5 | { |
6 | int ret; |
7 | va_list ap; |
8 | va_start(ap, fmt); |
9 | ret = vsprintf(s, fmt, ap); |
10 | va_end(ap); |
11 | return ret; |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.