Files
photon/libc/stdio/snprintf.c

11 lines
217 B
C
Raw Permalink Normal View History

2020-04-03 19:21:22 +01:00
#include <stdio.h>
int snprintf(char *buf, size_t sz, const char *restrict format, ...)
{
va_list arg;
va_start(arg, format);
int ret = vsnprintf(buf, sz, format, arg);
va_end(arg);
return ret;
}