diff options
Diffstat (limited to 'libc-top-half/musl/src/stdio/swscanf.c')
-rw-r--r-- | libc-top-half/musl/src/stdio/swscanf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/stdio/swscanf.c b/libc-top-half/musl/src/stdio/swscanf.c new file mode 100644 index 0000000..03d572d --- /dev/null +++ b/libc-top-half/musl/src/stdio/swscanf.c @@ -0,0 +1,14 @@ +#include <stdarg.h> +#include <wchar.h> + +int swscanf(const wchar_t *restrict s, const wchar_t *restrict fmt, ...) +{ + int ret; + va_list ap; + va_start(ap, fmt); + ret = vswscanf(s, fmt, ap); + va_end(ap); + return ret; +} + +weak_alias(swscanf,__isoc99_swscanf); |