1ISWXDIGIT(3)               Linux Programmer's Manual              ISWXDIGIT(3)
2
3
4

NAME

6       iswxdigit - test for hexadecimal digit wide character
7

SYNOPSIS

9       #include <wctype.h>
10
11       int iswxdigit(wint_t wc);
12

DESCRIPTION

14       The  iswxdigit()  function  is  the  wide-character  equivalent  of the
15       isxdigit(3) function.  It tests whether wc is a wide character  belong‐
16       ing to the wide-character class "xdigit".
17
18       The  wide-character  class "xdigit" is a subclass of the wide-character
19       class "alnum", and therefore also  a  subclass  of  the  wide-character
20       class "graph" and of the wide-character class "print".
21
22       Being  a subclass of the wide-character class "print", the wide-charac‐
23       ter class "xdigit" is disjoint from the wide-character class "cntrl".
24
25       Being a subclass of the wide-character class "graph", the  wide-charac‐
26       ter  class  "xdigit"  is disjoint from the wide-character class "space"
27       and its subclass "blank".
28
29       Being a subclass of the wide-character class "alnum", the  wide-charac‐
30       ter class "xdigit" is disjoint from the wide-character class "punct".
31
32       The  wide-character class "xdigit" always contains at least the letters
33       'A' to 'F', 'a' to 'f' and the digits '0' to '9'.
34

RETURN VALUE

36       The iswxdigit() function returns nonzero if wc is a wide character  be‐
37       longing  to  the  wide-character class "xdigit".  Otherwise, it returns
38       zero.
39

ATTRIBUTES

41       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
42       tributes(7).
43
44       ┌─────────────────────────────────────┬───────────────┬────────────────┐
45Interface                            Attribute     Value          
46       ├─────────────────────────────────────┼───────────────┼────────────────┤
47iswxdigit()                          │ Thread safety │ MT-Safe locale │
48       └─────────────────────────────────────┴───────────────┴────────────────┘
49

CONFORMING TO

51       POSIX.1-2001, POSIX.1-2008, C99.
52

NOTES

54       The  behavior  of  iswxdigit()  depends on the LC_CTYPE category of the
55       current locale.
56

SEE ALSO

58       iswctype(3), isxdigit(3)
59

COLOPHON

61       This page is part of release 5.13 of the Linux  man-pages  project.   A
62       description  of  the project, information about reporting bugs, and the
63       latest    version    of    this    page,    can     be     found     at
64       https://www.kernel.org/doc/man-pages/.
65
66
67
68GNU                               2021-03-22                      ISWXDIGIT(3)
Impressum