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
41       belonging  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
46       attributes(7).
47
48       ┌───────────┬───────────────┬────────────────┐
49Interface  Attribute     Value          
50       ├───────────┼───────────────┼────────────────┤
51iswalnum() │ Thread safety │ MT-Safe locale │
52       └───────────┴───────────────┴────────────────┘

CONFORMING TO

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

NOTES

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

SEE ALSO

61       isalnum(3), iswctype(3)
62

COLOPHON

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