summaryrefslogtreecommitdiff
path: root/term/output_res_horz_inch.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/output_res_horz_inch.c
separate from libc
Diffstat (limited to 'term/output_res_horz_inch.c')
-rw-r--r--term/output_res_horz_inch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/output_res_horz_inch.c b/term/output_res_horz_inch.c
new file mode 100644
index 0000000..a96fbb9
--- /dev/null
+++ b/term/output_res_horz_inch.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define output_res_horz_inch tigetnum("orhi")
+
+/** horizontal resolution in units per inch **/
+
+/*
+TERMINFO_NAME(orhi)
+TERMCAP_NAME(Yk)
+XOPEN(400)
+*/