ISXDIGIT(3) Library Functions Manual ISXDIGIT(3)

isxdigittest for a hexadecimal digit

#include <ctype.h>

int isxdigit(int c);

The isxdigit() function tests whether c is a character of class xdigit in the program's current locale, see the XBD specification, .

In all cases is an , the value of which must be a character representable as an or must equal the value of the macro EOF. If the argument has any other value, the behaviour is undefined.

The isxdigit() function returns non-zero if c is a hexadecimal digit; otherwise it returns 0.

No errors are defined.

None.

To ensure applications portability, especially across natural languages, only this function and those listed in the SEE ALSO section should be used for character classification.

None.

isalnum(3) , isalpha(3) , iscntrl(3) , isdigit(3) , isgraph(3) , islower(3) , isprint(3) , ispunct(3) , isspace(3) , isupper(3) , <ctype.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail