]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswalnum.3
epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, ioprio_set.2, signalfd.2, spu_c...
[thirdparty/man-pages.git] / man3 / iswalnum.3
CommitLineData
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/
008f1ecc 11.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
12.\" ISO/IEC 9899:1999
13.\"
14.TH ISWALNUM 3 1999-07-25 "GNU" "Linux Programmer's Manual"
15.SH NAME
16iswalnum \- 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
60a90ecd
MK
24The
25.BR iswalnum ()
26function is the wide-character equivalent of the
3a72373c 27.BR isalnum (3)
60a90ecd 28function.
c13182ef 29It tests whether \fIwc\fP is a wide character
d0f17b57 30belonging to the wide-character class "alnum".
fea681da 31.PP
d0f17b57
MK
32The wide-character class "alnum" is a subclass of the wide-character class
33"graph", and therefore also a subclass of the wide-character class "print".
fea681da 34.PP
d0f17b57
MK
35Being a subclass of the wide-character class "print",
36the wide-character class
37"alnum" is disjoint from the wide-character class "cntrl".
fea681da 38.PP
d0f17b57
MK
39Being a subclass of the wide-character class "graph",
40the wide-character class "alnum" is disjoint from
41the wide-character class "space" and its subclass "blank".
fea681da 42.PP
d0f17b57 43The wide-character class "alnum" is disjoint from the wide-character class
fea681da
MK
44"punct".
45.PP
d0f17b57 46The wide-character class "alnum" is the union of the wide-character classes
c13182ef 47"alpha" and "digit".
d0f17b57 48As such, it also contains the wide-character class
fea681da
MK
49"xdigit".
50.PP
f81fb444
MK
51The wide-character class "alnum" always contains at least the letters \(aqA\(aq
52to \(aqZ\(aq, \(aqa\(aq to \(aqz\(aq and the digits \(aq0\(aq to \(aq9\(aq.
47297adb 53.SH RETURN VALUE
60a90ecd
MK
54The
55.BR iswalnum ()
c7094399 56function returns nonzero
fbe183be 57if \fIwc\fP is a wide character
d0f17b57 58belonging to the wide-character class "alnum".
c13182ef 59Otherwise it returns zero.
47297adb 60.SH CONFORMING TO
68e1685c 61C99.
fea681da 62.SH NOTES
d9bfdb9c 63The behavior of
60a90ecd 64.BR iswalnum ()
1274071a
MK
65depends on the
66.B LC_CTYPE
67category of the
fea681da 68current locale.
47297adb 69.SH SEE ALSO
e37e3282
MK
70.BR isalnum (3),
71.BR iswctype (3)