HP 3000 Manuals

isxdigit [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Library Reference Manual

isxdigit 

Tests whether an argument is a hexadecimal digit.

Syntax 

     #include <ctype.h>
     int isxdigit (int c);

Parameters 

c             An argument to be evaluated.  The argument must be
              representable as an unsigned char or the macro EOF.

Return Values 

!=0           The argument passed in c is a hexadecimal digit.

0             The argument passed in c is not a hexadecimal digit.

Description 

The isxdigit function returns a nonzero value if the argument passed in c 
is a hexadecimal digit (ASCII characters 0 through 9, A through F, and a
through f); otherwise, the returned value is zero.

See Also 

isalnum, isalpha, iscntrl, isdigit, isgraph, islower, isprint, ispunct,
isspace, isupper, ANSI C 4.3.1.11, POSIX.1 8.1



MPE/iX 5.0 Documentation