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