Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <ctype.h> int isspace(int c);
| ||
Return val. |
0 | c is a white space character. c is not a white space character. | |
Notes |
For evaluating control characters for white space (see section “White space” (Basic terms)). | ||
Example | #include <ctype.h> #include <stdio.h> int main(void) { int c; while((c = getchar()) != EOF) printf("%s : %c\n",((isspace(c))? "White space " : "Other"), c); return 0; } | ||
See also | isalnum, isalpha, isascii, iscntrl, isdigit, islower, isprint, isgraph, ispunct, isupper, isxdigit, |