1ISWALNUM(3) Linux Programmer's Manual ISWALNUM(3)
2
3
4
6 iswalnum - test for alphanumeric wide character
7
9 #include <wctype.h>
10
11 int iswalnum(wint_t wc);
12
14 The iswalnum() function is the wide-character equivalent of the isal‐
15 num(3) function. It tests whether wc is a wide character belonging to
16 the wide-character class "alnum".
17
18 The wide-character class "alnum" is a subclass of the wide-character
19 class "graph", and therefore also a subclass of the wide-character
20 class "print".
21
22 Being a subclass of the wide-character class "print", the wide-charac‐
23 ter class "alnum" is disjoint from the wide-character class "cntrl".
24
25 Being a subclass of the wide-character class "graph", the wide-charac‐
26 ter class "alnum" is disjoint from the wide-character class "space" and
27 its subclass "blank".
28
29 The wide-character class "alnum" is disjoint from the wide-character
30 class "punct".
31
32 The wide-character class "alnum" is the union of the wide-character
33 classes "alpha" and "digit". As such, it also contains the wide-char‐
34 acter class "xdigit".
35
36 The wide-character class "alnum" always contains at least the letters
37 'A' to 'Z', 'a' to 'z' and the digits '0' to '9'.
38
40 The iswalnum() function returns non-zero if wc is a wide character
41 belonging to the wide-character class "alnum". Otherwise it returns
42 zero.
43
45 C99.
46
48 The behavior of iswalnum() depends on the LC_CTYPE category of the cur‐
49 rent locale.
50
52 isalnum(3), iswctype(3)
53
55 This page is part of release 3.22 of the Linux man-pages project. A
56 description of the project, and information about reporting bugs, can
57 be found at http://www.kernel.org/doc/man-pages/.
58
59
60
61GNU 1999-07-25 ISWALNUM(3)