summaryrefslogtreecommitdiff
path: root/src/wchar/fwprintf_s.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/fwprintf_s.c')
-rw-r--r--src/wchar/fwprintf_s.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/wchar/fwprintf_s.c b/src/wchar/fwprintf_s.c
new file mode 100644
index 00000000..c3011d8d
--- /dev/null
+++ b/src/wchar/fwprintf_s.c
@@ -0,0 +1,16 @@
+#include "stdio.h"
+#include "wchar.h"
+
+int fwprintf_s(FILE * restrict stream, const wchar_t * restrict format, ...)
+{
+ __C_EXT(1, 201112L);
+ va_list ap;
+ va_start(ap, format);
+ int ret = vfwprintf_s(stream, format, ap);
+ va_end(ap);
+ return ret;
+}
+
+/*
+CEXT1(201112)
+*/