]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/stdio/fwprintf.c
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / src / stdio / fwprintf.c
1 #include <stdio.h>
2 #include <stdarg.h>
3 #include <wchar.h>
4
5 int fwprintf(FILE *restrict f, const wchar_t *restrict fmt, ...)
6 {
7 int ret;
8 va_list ap;
9 va_start(ap, fmt);
10 ret = vfwprintf(f, fmt, ap);
11 va_end(ap);
12 return ret;
13 }