summaryrefslogtreecommitdiff
path: root/userland/libc/ctype/isprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/ctype/isprint.c')
-rw-r--r--userland/libc/ctype/isprint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/userland/libc/ctype/isprint.c b/userland/libc/ctype/isprint.c
new file mode 100644
index 0000000..e6a3d0e
--- /dev/null
+++ b/userland/libc/ctype/isprint.c
@@ -0,0 +1,3 @@
+#include <ctype.h>
+
+int isprint(int c) { return c > 0x20 && 0x7F != c; }