1iswxdigit(3) Library Functions Manual iswxdigit(3)
2
3
4
6 iswxdigit - test for hexadecimal digit wide character
7
9 Standard C library (libc, -lc)
10
12 #include <wctype.h>
13
14 int iswxdigit(wint_t wc);
15
17 The iswxdigit() function is the wide-character equivalent of the
18 isxdigit(3) function. It tests whether wc is a wide character belong‐
19 ing to the wide-character class "xdigit".
20
21 The wide-character class "xdigit" is a subclass of the wide-character
22 class "alnum", and therefore also a subclass of the wide-character
23 class "graph" and of the wide-character class "print".
24
25 Being a subclass of the wide-character class "print", the wide-charac‐
26 ter class "xdigit" is disjoint from the wide-character class "cntrl".
27
28 Being a subclass of the wide-character class "graph", the wide-charac‐
29 ter class "xdigit" is disjoint from the wide-character class "space"
30 and its subclass "blank".
31
32 Being a subclass of the wide-character class "alnum", the wide-charac‐
33 ter class "xdigit" is disjoint from the wide-character class "punct".
34
35 The wide-character class "xdigit" always contains at least the letters
36 'A' to 'F', 'a' to 'f' and the digits '0' to '9'.
37
39 The iswxdigit() function returns nonzero if wc is a wide character be‐
40 longing to the wide-character class "xdigit". Otherwise, it returns
41 zero.
42
44 For an explanation of the terms used in this section, see at‐
45 tributes(7).
46
47 ┌─────────────────────────────────────┬───────────────┬────────────────┐
48 │Interface │ Attribute │ Value │
49 ├─────────────────────────────────────┼───────────────┼────────────────┤
50 │iswxdigit() │ Thread safety │ MT-Safe locale │
51 └─────────────────────────────────────┴───────────────┴────────────────┘
52
54 C11, POSIX.1-2008.
55
57 POSIX.1-2001, C99.
58
60 The behavior of iswxdigit() depends on the LC_CTYPE category of the
61 current locale.
62
64 iswctype(3), isxdigit(3)
65
66
67
68Linux man-pages 6.04 2023-03-30 iswxdigit(3)