1ISWALNUM(3)                Linux Programmer's Manual               ISWALNUM(3)
2
3
4

NAME

6       iswalnum - test for alphanumeric wide character
7

SYNOPSIS

9       #include <wctype.h>
10
11       int iswalnum(wint_t wc);
12

DESCRIPTION

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

RETURN VALUE

40       The iswalnum() function returns nonzero if wc is a wide  character  be‐
41       longing  to  the  wide-character  class "alnum".  Otherwise, it returns
42       zero.
43

ATTRIBUTES

45       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
46       tributes(7).
47
48       ┌─────────────────────────────────────┬───────────────┬────────────────┐
49Interface                            Attribute     Value          
50       ├─────────────────────────────────────┼───────────────┼────────────────┤
51iswalnum()                           │ Thread safety │ MT-Safe locale │
52       └─────────────────────────────────────┴───────────────┴────────────────┘
53

CONFORMING TO

55       POSIX.1-2001, POSIX.1-2008, C99.
56

NOTES

58       The behavior of iswalnum() depends on the LC_CTYPE category of the cur‐
59       rent locale.
60

SEE ALSO

62       isalnum(3), iswctype(3)
63

COLOPHON

65       This page is part of release 5.12 of the Linux  man-pages  project.   A
66       description  of  the project, information about reporting bugs, and the
67       latest    version    of    this    page,    can     be     found     at
68       https://www.kernel.org/doc/man-pages/.
69
70
71
72GNU                               2021-03-22                       ISWALNUM(3)
Impressum