ASCII_IS_DIG_OCT() / ASCII_IsDigOct()
Determines whether a character is an octal-digit character.
Files
lib_ascii.h/lib_ascii.c
Prototypes
ASCII_IS_DIG_OCT(ch); CPU_BOOLEAN ASCII_IsDigOct (CPU_CHAR ch);
Arguments
ch
Character to examine.
Returned Value
DEF_YES
,
if character is an octal-digit character;
DEF_NO
,
if character is not an octal-digit character.
Required Configuration
None.
Notes / Warnings
None.
Example Usage
CPU_CHAR ch; CPU_BOOLEAN dig_oct; ch = ASCII_CHAR_DIGIT_SEVEN; dig_oct = ASCII_IS_DIG_OCT(ch);