]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
2 | .\" | |
3 | .\" This is free documentation; you can redistribute it and/or | |
4 | .\" modify it under the terms of the GNU General Public License as | |
5 | .\" published by the Free Software Foundation; either version 2 of | |
6 | .\" the License, or (at your option) any later version. | |
7 | .\" | |
8 | .\" References consulted: | |
9 | .\" GNU glibc-2 source code and manual | |
10 | .\" Dinkumware C library reference http://www.dinkumware.com/ | |
11 | .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html | |
12 | .\" ISO/IEC 9899:1999 | |
13 | .\" | |
14 | .TH ISWXDIGIT 3 1999-07-25 "GNU" "Linux Programmer's Manual" | |
15 | .SH NAME | |
16 | iswxdigit \- test for hexadecimal digit wide character | |
17 | .SH SYNOPSIS | |
18 | .nf | |
19 | .B #include <wctype.h> | |
20 | .sp | |
21 | .BI "int iswxdigit(wint_t " wc ); | |
22 | .fi | |
23 | .SH DESCRIPTION | |
e511ffb6 | 24 | The \fBiswxdigit\fP() function is the wide-character equivalent of the |
fb186734 | 25 | \fBisxdigit\fP(3) function. |
c13182ef | 26 | It tests whether \fIwc\fP is a wide character |
d0f17b57 | 27 | belonging to the wide-character class "xdigit". |
fea681da | 28 | .PP |
d0f17b57 MK |
29 | The wide-character class "xdigit" is a subclass of the wide-character class |
30 | "alnum", and therefore also a subclass of the wide-character class "graph" and | |
31 | of the wide-character class "print". | |
fea681da | 32 | .PP |
d0f17b57 MK |
33 | Being a subclass of the wide-character class "print", the wide-character class |
34 | "xdigit" is disjoint from the wide-character class "cntrl". | |
fea681da | 35 | .PP |
d0f17b57 MK |
36 | Being a subclass of the wide-character class "graph", the wide-character class |
37 | "xdigit" is disjoint from the wide-character class "space" and its subclass | |
fea681da MK |
38 | "blank". |
39 | .PP | |
d0f17b57 MK |
40 | Being a subclass of the wide-character class "alnum", the wide-character class |
41 | "xdigit" is disjoint from the wide-character class "punct". | |
fea681da | 42 | .PP |
d0f17b57 | 43 | The wide-character class "xdigit" always contains at least the letters 'A' |
fea681da MK |
44 | to 'F', 'a' to 'f' and the digits '0' to '9'. |
45 | .SH "RETURN VALUE" | |
e511ffb6 | 46 | The \fBiswxdigit\fP() function returns non-zero if \fIwc\fP is a wide character |
d0f17b57 | 47 | belonging to the wide-character class "xdigit". |
c13182ef | 48 | Otherwise it returns zero. |
fea681da | 49 | .SH "CONFORMING TO" |
68e1685c | 50 | C99. |
fea681da MK |
51 | .SH "SEE ALSO" |
52 | .BR iswctype (3), | |
53 | .BR isxdigit (3) | |
54 | .SH NOTES | |
e511ffb6 | 55 | The behaviour of \fBiswxdigit\fP() depends on the LC_CTYPE category of the |
fea681da | 56 | current locale. |