aboutsummaryrefslogtreecommitdiffstats
path: root/io/wrap/vswprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/wrap/vswprintf.c')
-rw-r--r--io/wrap/vswprintf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/io/wrap/vswprintf.c b/io/wrap/vswprintf.c
new file mode 100644
index 0000000..8046634
--- /dev/null
+++ b/io/wrap/vswprintf.c
@@ -0,0 +1,9 @@
+#define NO_OPAQUE_TYPE
+#include "io.h"
+#include <wchar.h>
+
+int _vswprintf_wrap(wchar_t *string, size_t max_size,
+ wchar_t const *restrict format, va_list arg)
+{
+ return vswprintf(string, max_size, format, arg);
+}