From e18b56382154fe1c5803f6b9ee36e2991174c037 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 18 Mar 2011 09:19:09 -0400 Subject: implement [v]swprintf --- src/stdio/swprintf.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/stdio/swprintf.c (limited to 'src/stdio/swprintf.c') diff --git a/src/stdio/swprintf.c b/src/stdio/swprintf.c new file mode 100644 index 00000000..5ece97c4 --- /dev/null +++ b/src/stdio/swprintf.c @@ -0,0 +1,14 @@ +#include +#include +#include + +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; +} + -- cgit v1.2.1