aboutsummaryrefslogtreecommitdiffstats
path: root/io/putchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/putchar.c')
-rw-r--r--io/putchar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/io/putchar.c b/io/putchar.c
new file mode 100644
index 0000000..ecba6dc
--- /dev/null
+++ b/io/putchar.c
@@ -0,0 +1,6 @@
+#include "io.h"
+
+int putchar(int character)
+{
+ return _fputc_wrap(character, _stdstream_wrap(stream_output));
+}