mirror of
https://github.com/fluencelabs/musl
synced 2025-05-23 20:51:32 +00:00
13 lines
185 B
C
13 lines
185 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int sprintf(char *s, const char *fmt, ...)
|
|
{
|
|
int ret;
|
|
va_list ap;
|
|
va_start(ap, fmt);
|
|
ret = vsprintf(s, fmt, ap);
|
|
va_end(ap);
|
|
return ret;
|
|
}
|