Debian Codegraph @

libc-top-half/musl/src/stdio/swprintf.c

raw
1 #include <stdarg.h>
2 #include <wchar.h>
3
4 int swprintf(wchar_t *restrict s, size_t n, const wchar_t *restrict fmt, ...)
5 {
6 int ret;
7 va_list ap;
8 va_start(ap, fmt);
9 ret = vswprintf(s, n, fmt, ap);
10 va_end(ap);
11 return ret;
12 }
13