about summary refs log tree commit diff
path: root/src/stdio/putwchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/putwchar.c')
-rw-r--r--src/stdio/putwchar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/putwchar.c b/src/stdio/putwchar.c
new file mode 100644
index 00000000..3aacc1cf
--- /dev/null
+++ b/src/stdio/putwchar.c
@@ -0,0 +1,8 @@
+#include "stdio_impl.h"
+
+wint_t putwchar(wchar_t c)
+{
+	return fputwc(c, stdout);
+}
+
+weak_alias(putwchar, putwchar_unlocked);