isxdigit
Tests for a hexadecimal-digit character (function or macro)
#include <ctype.h>
int isxdigit (
int c);
isxdigit returns a nonzero value when the argument is a hexadecimal digit. Otherwise, a value of 0 is returned.
The isxdigit function or macro tests for any hexadecimal-digit character. These characters include digits (0 to 9) and letters (a to f or A to F).