...
lib_ascii.h/lib_ascii.c
Prototypes
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ASCII_IS_PUNCT(cch); CPU_BOOLEAN ASCII_IsPunct (CPU_CHAR cch); |
Arguments
c
ch
Character to examine.
Returned Value
...
ISOISO/IEC 9899:TC2, Section 7.4.1.9.(2) states that “ispunct()
returns true for every printing character for which neither isspace()
nor isalnum()
is true”.
Example Usage
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CPU_CHAR cch; CPU_BOOLEAN punct; ch c = ASCII_CHAR_COLON; punct = ASCII_IS_PUNCT(cch); |