...
lib_ascii.h/lib_ascii.c
Prototypes
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ASCII_IS_SPACE(cch); CPU_BOOLEAN ASCII_IsSpace (CPU_CHAR cch); |
Arguments
c
ch
Character to examine.
Returned Value
...
ISO/IEC 9899:TC2, Section 7.4.1.10.(2) states that “isspace()
returns true only for the standard white-space characters”. ISO/IEC 9899:TC2, Section 7.4.1.10.(2) defines “the standard white-space characters” as the “space (' '
), form feed ('\f'
), new-line ('\n'
), carriage return ('\r'
), horizontal tab ('\t'
), and vertical tab ('\v'
)”.
Example Usage
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CPU_CHAR cch; CPU_BOOLEAN space; ch c = ASCII_CHAR_CARRIAGE_RETURN; space = ASCII_IS_SPACE(cch); |