aboutsummaryrefslogtreecommitdiffstats
path: root/io/putwchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/putwchar.c')
-rw-r--r--io/putwchar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/io/putwchar.c b/io/putwchar.c
new file mode 100644
index 0000000..c4fdf47
--- /dev/null
+++ b/io/putwchar.c
@@ -0,0 +1,7 @@
+#define NEED_WINT
+#include "io.h"
+
+wint_t putwchar(wchar_t character)
+{
+ return fputwc(character, _stdstream_wrap(stream_output));
+}