Determines whether a character is an octal-digit character.
Files
lib_ascii.h/lib_ascii.c
Prototypes
ASCII_IS_DIG_OCT(c); CPU_BOOLEAN ASCII_IsDigOct (CPU_CHAR c);
Arguments
c
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 c; CPU_BOOLEAN dig_oct; c = ASCII_CHAR_DIGIT_SEVEN; dig_oct = ASCII_IS_DIG_OCT(c);