IS_XDIGIT
- Macro
- August 22, 2025
Table of Contents
IS_XDIGIT
IS_XDIGIT
Description
Checks if the given character c
is a hexadecimal digit.
Parameters
Name | Direction | Description |
---|---|---|
c | in | The character to check. |
Success
Returns true for 0-9, a-f, A-F, false otherwise.
Failure
Function cannot fail - always returns boolean result.
Usage example (Cross-references)
- In
Io.c:2315
:
// Read hex digits
while (IS_XDIGIT(*i)) {
i++;
}