...
lib_ascii.h/lib_ascii.c
Prototypes
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ASCII_IS_DIG(cch); CPU_BOOLEAN ASCII_IsDig (CPU_CHAR cch); |
Arguments
c
ch
Character to examine.
Returned Value
...
ISO/IEC 9899:TC2, Section 7.4.1.5.(2) states that “isdigit()
… tests for any decimal-digit character”.
Example Usage
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CPU_CHAR cch; CPU_BOOLEAN dig; ch c = ASCII_CHAR_DIGIT_SEVEN; dig = ASCII_IS_DIG(cch); |