]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswxdigit.3
Many pages: Use correct letter case in page titles (TH)
[thirdparty/man-pages.git] / man3 / iswxdigit.3
CommitLineData
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
13iswxdigit \- test for hexadecimal digit wide character
dc9d3de7
AC
14.SH LIBRARY
15Standard 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
24The
25.BR iswxdigit ()
26function is the wide-character equivalent of the
27.BR isxdigit (3)
28function.
35cfd378
MK
29It tests whether
30.I wc
31is a wide character
d0f17b57 32belonging to the wide-character class "xdigit".
fea681da 33.PP
d0f17b57
MK
34The 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
36of the wide-character class "print".
fea681da 37.PP
d0f17b57
MK
38Being 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
41Being 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
45Being 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
48The wide-character class "xdigit" always contains at least the
49letters \(aqA\(aq to \(aqF\(aq, \(aqa\(aq to \(aqf\(aq
50and the digits \(aq0\(aq to \(aq9\(aq.
47297adb 51.SH RETURN VALUE
60a90ecd
MK
52The
53.BR iswxdigit ()
35cfd378
MK
54function returns nonzero if
55.I wc
56is a wide character
d0f17b57 57belonging to the wide-character class "xdigit".
2b9b829d 58Otherwise, it returns zero.
4fe7e8ba
PH
59.SH ATTRIBUTES
60For 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
65allbox;
c466875e 66lbx lb lb
4fe7e8ba
PH
67l l l.
68Interface Attribute Value
69T{
70.BR iswxdigit ()
71T} Thread safety MT-Safe locale
72.TE
c466875e
MK
73.hy
74.ad
75.sp 1
3113c7f3 76.SH STANDARDS
17902dc9 77POSIX.1-2001, POSIX.1-2008, C99.
fea681da 78.SH NOTES
d9bfdb9c 79The behavior of
60a90ecd 80.BR iswxdigit ()
1274071a
MK
81depends on the
82.B LC_CTYPE
83category of the
fea681da 84current locale.
47297adb 85.SH SEE ALSO
e37e3282
MK
86.BR iswctype (3),
87.BR isxdigit (3)