Skip to content

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)

Usage examples (Cross-references)
    
            // Read hex digits
            while (IS_XDIGIT(*i)) {
                i++;
            }
Last updated on