FENIX_libc/ctype/isspace.c
2020-12-13 04:55:41 -06:00

13 lines
No EOL
182 B
C

#include <stdio.h>
int isspace(int c) {
switch(c) {
case ' ':
case '\f':
case '\n':
case '\r':
case '\t':
case '\v': return 1;
default: return 0;
}
}