Safe to assume that isxdigit(3) is available on all modern platforms. It has only been about 25 years since ANSI C89.