2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH iswalnum 3 (date) "Linux man-pages (unreleased)"
14 iswalnum \- test for alphanumeric wide character
17 .RI ( libc ", " \-lc )
20 .B #include <wctype.h>
22 .BI "int iswalnum(wint_t " wc );
27 function is the wide-character equivalent of the
33 belonging to the wide-character class "alnum".
35 The wide-character class "alnum" is a subclass of the wide-character class
36 "graph", and therefore also a subclass of the wide-character class "print".
38 Being a subclass of the wide-character class "print",
39 the wide-character class
40 "alnum" is disjoint from the wide-character class "cntrl".
42 Being a subclass of the wide-character class "graph",
43 the wide-character class "alnum" is disjoint from
44 the wide-character class "space" and its subclass "blank".
46 The wide-character class "alnum" is disjoint from the wide-character class
49 The wide-character class "alnum" is the union of the wide-character classes
51 As such, it also contains the wide-character class
54 The wide-character class "alnum"
55 always contains at least the letters
56 \[aq]A\[aq] to \[aq]Z\[aq],
57 \[aq]a\[aq] to \[aq]z\[aq],
58 and the digits \[aq]0\[aq] to \[aq]9\[aq].
62 function returns nonzero
66 belonging to the wide-character class "alnum".
67 Otherwise, it returns zero.
69 For an explanation of the terms used in this section, see
75 Interface Attribute Value
80 T} Thread safety MT-Safe locale