summaryrefslogtreecommitdiff
path: root/src/ctype/isgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/isgraph.c')
-rw-r--r--src/ctype/isgraph.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c
new file mode 100644
index 00000000..98979d1e
--- /dev/null
+++ b/src/ctype/isgraph.c
@@ -0,0 +1,4 @@
+int isgraph(int c)
+{
+ return (unsigned)c-0x21 < 0x5e;
+}