Returns a flag that indicates whether a given character is a whitespace character in the ASCII code space.
- Parameters
-
ch | is the character to check. |
- Returns
- A nonzero value, if
ch
is an ASCII whitespace character, i.e. horizontal tab ('\t', 9
), line feed ('\n', 0xa
), vertical tab ('\v', 0xb
), form feed ('\f', 0xc
), carriage return ('\r', 0xd) or space (' ', 0x20
). Otherwise, the function returns a zero value.
The function repeats the standard library isspace function.
- See also
- ucp_isspace Same, but checks the whole Unicode 11.0 code space except for surrogate pairs.