aboutsummaryrefslogtreecommitdiffstats
path: root/io/aswprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/aswprintf.c')
-rw-r--r--io/aswprintf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/io/aswprintf.c b/io/aswprintf.c
new file mode 100644
index 0000000..d65094e
--- /dev/null
+++ b/io/aswprintf.c
@@ -0,0 +1,11 @@
+#define NO_OPAQUE_TYPE
+#include "io.h"
+
+int aswprintf(wchar_t **string, wchar_t const *restrict format, ...)
+{
+ va_list arg;
+ va_start(arg, format);
+ int lenght = vaswprintf(string, format, arg);
+ va_end(arg);
+ return lenght;
+}