From e43939bcc6123e02314aa403eef94d5ace441f7f Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 27 Aug 2023 02:06:32 +0200 Subject: ports: qbe, cproc :^) --- src/libc/ctype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libc/ctype.c') diff --git a/src/libc/ctype.c b/src/libc/ctype.c index fa49a07..de10024 100644 --- a/src/libc/ctype.c +++ b/src/libc/ctype.c @@ -8,6 +8,10 @@ int isalpha(int c) { return islower(c) || isupper(c); } +int isblank(int c) { + return c == ' ' || c == '\t'; +} + int iscntrl(int c) { return c <= 0x1f || c == 0x7f; } -- cgit v1.2.3