IS_XDIGIT
- Macro
- October 8, 2025
Table of Contents
IS_XDIGIT
IS_XDIGITDescription
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:2379:
// Read hex digits
while (IS_XDIGIT(*i)) {
i++;
}