diff options
Diffstat (limited to 'system/lib/libc/musl/src/stdio/wprintf.c')
-rw-r--r-- | system/lib/libc/musl/src/stdio/wprintf.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/stdio/wprintf.c b/system/lib/libc/musl/src/stdio/wprintf.c new file mode 100644 index 00000000..342cd979 --- /dev/null +++ b/system/lib/libc/musl/src/stdio/wprintf.c @@ -0,0 +1,13 @@ +#include <stdio.h> +#include <stdarg.h> +#include <wchar.h> + +int wprintf(const wchar_t *restrict fmt, ...) +{ + int ret; + va_list ap; + va_start(ap, fmt); + ret = vwprintf(fmt, ap); + va_end(ap); + return ret; +} |