1ISWXDIGIT(3) Linux Programmer's Manual ISWXDIGIT(3)
2
3
4
6 iswxdigit - test for hexadecimal digit wide character
7
9 #include <wctype.h>
10
11 int iswxdigit(wint_t wc);
12
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
36 The iswxdigit() function returns nonzero if wc is a wide character
37 belonging to the wide-character class "xdigit". Otherwise, it returns
38 zero.
39
41 For an explanation of the terms used in this section, see
42 attributes(7).
43
44 ┌────────────┬───────────────┬────────────────┐
45 │Interface │ Attribute │ Value │
46 ├────────────┼───────────────┼────────────────┤
47 │iswxdigit() │ Thread safety │ MT-Safe locale │
48 └────────────┴───────────────┴────────────────┘
50 POSIX.1-2001, POSIX.1-2008, C99.
51
53 The behavior of iswxdigit() depends on the LC_CTYPE category of the
54 current locale.
55
57 iswctype(3), isxdigit(3)
58
60 This page is part of release 5.02 of the Linux man-pages project. A
61 description of the project, information about reporting bugs, and the
62 latest version of this page, can be found at
63 https://www.kernel.org/doc/man-pages/.
64
65
66
67GNU 2015-08-08 ISWXDIGIT(3)