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