13 lines
No EOL
182 B
C
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;
|
|
}
|
|
} |