summaryrefslogtreecommitdiff
path: root/term/putp.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
commitfa799768c4f6d97c5f60a37829ad1b457b7c0096 (patch)
treeed28b64735a6a79b10ecf1a87296f36e88745f4e /term/putp.c
separate from libc
Diffstat (limited to 'term/putp.c')
-rw-r--r--term/putp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/term/putp.c b/term/putp.c
new file mode 100644
index 0000000..1264f7d
--- /dev/null
+++ b/term/putp.c
@@ -0,0 +1,12 @@
+#include <term.h>
+#include <curses.h>
+
+int putp(const char * str)
+{
+ return tputs(str, 1, putchar);
+}
+
+/*
+XOPEN(400)
+LINK(curses)
+*/