summaryrefslogtreecommitdiff
path: root/libio/stdio/putchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdio/putchar.c')
-rw-r--r--libio/stdio/putchar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libio/stdio/putchar.c b/libio/stdio/putchar.c
new file mode 100644
index 00000000000..a0a972fb539
--- /dev/null
+++ b/libio/stdio/putchar.c
@@ -0,0 +1,10 @@
+#include "libioP.h"
+#include "stdio.h"
+#undef putchar
+
+int
+putchar(c)
+ int c;
+{
+ return _IO_putc(c, stdout);
+}