summaryrefslogtreecommitdiff
path: root/src/stdio/putchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/putchar.c')
-rw-r--r--src/stdio/putchar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stdio/putchar.c b/src/stdio/putchar.c
new file mode 100644
index 00000000..945636d5
--- /dev/null
+++ b/src/stdio/putchar.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int putchar(int c)
+{
+ return fputc(c, stdout);
+}