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() 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 charac‐
34 ter 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 isalnum(3), iswctype(3)
49
51 The behaviour of iswalnum() depends on the LC_CTYPE category of the
52 current locale.
53
54
55
56GNU 1999-07-25 ISWALNUM(3)