1 #include <stdarg.h>
2 #include <wchar.h>
3 
swprintf(wchar_t * restrict s,size_t n,const wchar_t * restrict fmt,...)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 
14