]>
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 ISWALNUM 3 1999-07-25 "GNU" "Linux Programmer's Manual" | |
15 | .SH NAME | |
16 | iswalnum \- test for alphanumeric wide character | |
17 | .SH SYNOPSIS | |
18 | .nf | |
19 | .B #include <wctype.h> | |
20 | .sp | |
21 | .BI "int iswalnum(wint_t " wc ); | |
22 | .fi | |
23 | .SH DESCRIPTION | |
e511ffb6 | 24 | The \fBiswalnum\fP() function is the wide-character equivalent of the |
3382bd94 | 25 | \fBisalnum\fP() function. It tests whether \fIwc\fP is a wide character |
fea681da MK |
26 | belonging to the wide character class "alnum". |
27 | .PP | |
28 | The wide character class "alnum" is a subclass of the wide character class | |
29 | "graph", and therefore also a subclass of the wide character class "print". | |
30 | .PP | |
31 | Being a subclass of the wide character class "print", the wide character class | |
32 | "alnum" is disjoint from the wide character class "cntrl". | |
33 | .PP | |
34 | Being a subclass of the wide character class "graph", the wide character class | |
35 | "alnum" is disjoint from the wide character class "space" and its subclass | |
36 | "blank". | |
37 | .PP | |
38 | The wide character class "alnum" is disjoint from the wide character class | |
39 | "punct". | |
40 | .PP | |
41 | The wide character class "alnum" is the union of the wide character classes | |
42 | "alpha" and "digit". As such, it also contains the wide character class | |
43 | "xdigit". | |
44 | .PP | |
45 | The wide character class "alnum" always contains at least the letters 'A' | |
46 | to 'Z', 'a' to 'z' and the digits '0' to '9'. | |
47 | .SH "RETURN VALUE" | |
e511ffb6 | 48 | The \fBiswalnum\fP() function returns non-zero if \fIwc\fP is a wide character |
fea681da MK |
49 | belonging to the wide character class "alnum". Otherwise it returns zero. |
50 | .SH "CONFORMING TO" | |
51 | ISO/ANSI C, UNIX98 | |
52 | .SH "SEE ALSO" | |
53 | .BR isalnum (3), | |
54 | .BR iswctype (3) | |
55 | .SH NOTES | |
e511ffb6 | 56 | The behaviour of \fBiswalnum\fP() depends on the LC_CTYPE category of the |
fea681da | 57 | current locale. |