]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
2 | .\" | |
e4a74ca8 | 3 | .\" SPDX-License-Identifier: GPL-2.0-or-later |
fea681da MK |
4 | .\" |
5 | .\" References consulted: | |
6 | .\" GNU glibc-2 source code and manual | |
7 | .\" Dinkumware C library reference http://www.dinkumware.com/ | |
008f1ecc | 8 | .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html |
fea681da MK |
9 | .\" ISO/IEC 9899:1999 |
10 | .\" | |
4c1c5274 | 11 | .TH iswxdigit 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
12 | .SH NAME |
13 | iswxdigit \- test for hexadecimal digit wide character | |
dc9d3de7 AC |
14 | .SH LIBRARY |
15 | Standard C library | |
8fc3b2cf | 16 | .RI ( libc ", " \-lc ) |
fea681da MK |
17 | .SH SYNOPSIS |
18 | .nf | |
19 | .B #include <wctype.h> | |
68e4db0a | 20 | .PP |
fea681da MK |
21 | .BI "int iswxdigit(wint_t " wc ); |
22 | .fi | |
23 | .SH DESCRIPTION | |
60a90ecd MK |
24 | The |
25 | .BR iswxdigit () | |
26 | function is the wide-character equivalent of the | |
27 | .BR isxdigit (3) | |
28 | function. | |
35cfd378 MK |
29 | It tests whether |
30 | .I wc | |
31 | is a wide character | |
d0f17b57 | 32 | belonging to the wide-character class "xdigit". |
fea681da | 33 | .PP |
d0f17b57 MK |
34 | The wide-character class "xdigit" is a subclass of the wide-character class |
35 | "alnum", and therefore also a subclass of the wide-character class "graph" and | |
36 | of the wide-character class "print". | |
fea681da | 37 | .PP |
d0f17b57 MK |
38 | Being a subclass of the wide-character class "print", the wide-character class |
39 | "xdigit" is disjoint from the wide-character class "cntrl". | |
fea681da | 40 | .PP |
d0f17b57 MK |
41 | Being a subclass of the wide-character class "graph", the wide-character class |
42 | "xdigit" is disjoint from the wide-character class "space" and its subclass | |
fea681da MK |
43 | "blank". |
44 | .PP | |
d0f17b57 MK |
45 | Being a subclass of the wide-character class "alnum", the wide-character class |
46 | "xdigit" is disjoint from the wide-character class "punct". | |
fea681da | 47 | .PP |
f81fb444 MK |
48 | The wide-character class "xdigit" always contains at least the |
49 | letters \(aqA\(aq to \(aqF\(aq, \(aqa\(aq to \(aqf\(aq | |
50 | and the digits \(aq0\(aq to \(aq9\(aq. | |
47297adb | 51 | .SH RETURN VALUE |
60a90ecd MK |
52 | The |
53 | .BR iswxdigit () | |
35cfd378 MK |
54 | function returns nonzero if |
55 | .I wc | |
56 | is a wide character | |
d0f17b57 | 57 | belonging to the wide-character class "xdigit". |
2b9b829d | 58 | Otherwise, it returns zero. |
4fe7e8ba PH |
59 | .SH ATTRIBUTES |
60 | For an explanation of the terms used in this section, see | |
61 | .BR attributes (7). | |
c466875e MK |
62 | .ad l |
63 | .nh | |
4fe7e8ba PH |
64 | .TS |
65 | allbox; | |
c466875e | 66 | lbx lb lb |
4fe7e8ba PH |
67 | l l l. |
68 | Interface Attribute Value | |
69 | T{ | |
70 | .BR iswxdigit () | |
71 | T} Thread safety MT-Safe locale | |
72 | .TE | |
c466875e MK |
73 | .hy |
74 | .ad | |
75 | .sp 1 | |
3113c7f3 | 76 | .SH STANDARDS |
17902dc9 | 77 | POSIX.1-2001, POSIX.1-2008, C99. |
fea681da | 78 | .SH NOTES |
d9bfdb9c | 79 | The behavior of |
60a90ecd | 80 | .BR iswxdigit () |
1274071a MK |
81 | depends on the |
82 | .B LC_CTYPE | |
83 | category of the | |
fea681da | 84 | current locale. |
47297adb | 85 | .SH SEE ALSO |
e37e3282 MK |
86 | .BR iswctype (3), |
87 | .BR isxdigit (3) |