COHERENT manpages

This page displays the COHERENT manpage for isxdigit() [Check if a character is a hexadecimal numeral].

List of available manpages
Index


isxdigit() -- ctype Function (libc)

Check if a character is a hexadecimal numeral
#include <ctype.h>
int isxdigit(c)
int c;

isxdigit() tests whether c is a  hexadecimal numeral -- that is, any of the
characters `0' through  `9', any of the letters `a'  through `d', or any of
the letters `A' through `D'.  c must be a value that is representable as an
unsigned char or EOF.

isxdigit() returns nonzero if c is a hexadecimal numeral, and zero if it is
not.

See Also

ASCII,
libc
ANSI Standard, §7.3.1.11
POSIX Standard, §8.1