mirror of
https://github.com/fluencelabs/musl
synced 2025-06-20 18:26:52 +00:00
implement [v]swprintf
This commit is contained in:
14
src/stdio/swprintf.c
Normal file
14
src/stdio/swprintf.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <wchar.h>
|
||||
|
||||
int swprintf(wchar_t *s, size_t n, const wchar_t *fmt, ...)
|
||||
{
|
||||
int ret;
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
ret = vswprintf(s, n, fmt, ap);
|
||||
va_end(ap);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user