summaryrefslogtreecommitdiff
path: root/userland/libc/ctype/isgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/ctype/isgraph.c')
-rw-r--r--userland/libc/ctype/isgraph.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/userland/libc/ctype/isgraph.c b/userland/libc/ctype/isgraph.c
new file mode 100644
index 0000000..28bf695
--- /dev/null
+++ b/userland/libc/ctype/isgraph.c
@@ -0,0 +1,5 @@
+#include <ctype.h>
+
+int isgraph(int c) {
+ return (unsigned)c - 0x21 < 0x5e;
+}