FENIX_libc/ctype/isspace.c

13 lines
182 B
C
Raw Normal View History

2020-12-13 10:55:41 +00:00
#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;
}
}