mirror of
https://github.com/fluencelabs/musl
synced 2025-05-29 15:41:36 +00:00
14 lines
201 B
C
14 lines
201 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int snprintf(char *s, size_t n, const char *fmt, ...)
|
|
{
|
|
int ret;
|
|
va_list ap;
|
|
va_start(ap, fmt);
|
|
ret = vsnprintf(s, n, fmt, ap);
|
|
va_end(ap);
|
|
return ret;
|
|
}
|
|
|