1ISXDIGIT(P)                POSIX Programmer's Manual               ISXDIGIT(P)
2
3
4

NAME

6       isxdigit - test for a hexadecimal digit
7

SYNOPSIS

9       #include <ctype.h>
10
11       int isxdigit(int c);
12
13

DESCRIPTION

15       The  isxdigit()  function  shall test whether c is a character of class
16       xdigit in the program's current locale; see the Base Definitions volume
17       of IEEE Std 1003.1-2001, Chapter 7, Locale.
18
19       The  c  argument  is  an  int, the value of which the application shall
20       ensure is a character representable as an unsigned char or equal to the
21       value of the macro EOF. If the argument has any other value, the behav‐
22       ior is undefined.
23

RETURN VALUE

25       The isxdigit() function shall return non-zero if  c  is  a  hexadecimal
26       digit; otherwise, it shall return 0.
27

ERRORS

29       No errors are defined.
30
31       The following sections are informative.
32

EXAMPLES

34       None.
35

APPLICATION USAGE

37       To  ensure  applications  portability,  especially  across natural lan‐
38       guages, only this function and those listed in  the  SEE  ALSO  section
39       should be used for character classification.
40

RATIONALE

42       None.
43

FUTURE DIRECTIONS

45       None.
46

SEE ALSO

48       isalnum() , isalpha() , iscntrl() , isdigit() , isgraph() , islower() ,
49       isprint() , ispunct() , isspace() , isupper() ,  the  Base  Definitions
50       volume of IEEE Std 1003.1-2001, Chapter 7, Locale, <ctype.h>
51
53       Portions  of  this text are reprinted and reproduced in electronic form
54       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
55       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
56       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
57       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
58       event of any discrepancy between this version and the original IEEE and
59       The  Open Group Standard, the original IEEE and The Open Group Standard
60       is the referee document. The original Standard can be  obtained  online
61       at http://www.opengroup.org/unix/online.html .
62
63
64
65IEEE/The Open Group                  2003                          ISXDIGIT(P)
Impressum