summaryrefslogtreecommitdiff
path: root/userland/libc/ctype/isascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/ctype/isascii.c')
-rw-r--r--userland/libc/ctype/isascii.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/userland/libc/ctype/isascii.c b/userland/libc/ctype/isascii.c
new file mode 100644
index 0000000..660c8bb
--- /dev/null
+++ b/userland/libc/ctype/isascii.c
@@ -0,0 +1,4 @@
+#include <ctype.h>
+
+// https://pubs.opengroup.org/onlinepubs/9699919799/functions/isascii.html
+int isascii(int c) { return (c < 128); }