isspace
From cppreference.com
Defined in header <ctype.h>
|
||
int isspace( int ch ); |
||
Checks if the given character is a whitespace character, i.e. either space (0x20
), form feed (0x0c
), line feed (0x0a
), carriage return (0x0d
), horizontal tab (0x09
) or vertical tab (0x0b
).
The behavior is undefined if the value of ch
is not representable as unsigned char and is not equal to EOF.
Parameters
ch | - | character to classify |
Return value
Non-zero value if the character is a whitespace character, zero otherwise.