aboutsummaryrefslogtreecommitdiff
path: root/lib/io/io.c
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-02-08 23:44:46 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-02-08 23:44:46 +0100
commitcc3d9d8d97f40fe81978306cbc4510152fca8ae7 (patch)
tree18f565ab6a097087e17bfac20b3827145ff2dcbe /lib/io/io.c
parent0fe4cdd277dab82b4f0b09ebebace2ce0009bddd (diff)
add markdown viewer (mdv)
Diffstat (limited to 'lib/io/io.c')
-rw-r--r--lib/io/io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/io/io.c b/lib/io/io.c
index 57cfd05..2aefe1a 100644
--- a/lib/io/io.c
+++ b/lib/io/io.c
@@ -27,6 +27,11 @@ void wf(unsigned int fd, char *buf)
}
+void putchar(const char c)
+{
+ __wstdn(&c, 1);
+}
+
void wstdf__(const char *buf, const void **args)
{
wff__(STDOUT_FD, buf, args);