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)
Usage examples (Cross-references)
- In
Io.c:3077:
StrIter hex_saved = si;
while (StrIterPeek(&si, &c) && IS_XDIGIT(c)) {
StrIterMustNext(&si);
}
Last updated on