...
lib_ascii.h/lib_ascii.c
Prototypes
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ASCII_IS_ALPHA_NUM(cch); CPU_BOOLEAN ASCII_IsAlpaNum (CPU_CHAR cch); |
Arguments
c
ch
Character to examine.
Returned Value
...
ISO/IEC 9899:TC2, Section 7.4.1.1.(2) states that “isalnum()
returns true only for the characters for which isalpha()
or isdigit()
is true”.
Example Usage
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CPU_CHAR cch; CPU_BOOLEAN alpha_num; ch c = ASCII_CHAR_LATIN_UPPER_G; alpha_num = ASCII_IS_ALPHA_NUM(cch); |