Tests for a hexadecimal-digit character, including the digits 0-9 and the letters a to f (or A to F).
#include <ctype.h> int isxdigit ( int c);
(IN) Specifies the character to be tested.
Returns a nonzero value when the argument is a hexadecimal digit. Otherwise, it returns zero.