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

NAME

6       iswalpha - test for alphabetic wide character
7

SYNOPSIS

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

DESCRIPTION

14       The  iswalpha()  function is the wide-character equivalent of the isal‐
15       pha(3) function.  It tests whether wc is a wide character belonging  to
16       the wide-character class "alpha".
17
18       The  wide-character  class  "alpha" is a subclass of the wide-character
19       class "alnum", and therefore also  a  subclass  of  the  wide-character
20       class "graph" and of the wide-character class "print".
21
22       Being  a subclass of the wide-character class "print", the wide-charac‐
23       ter class "alpha" 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 "alpha" is disjoint from the wide-character class "space" and
27       its subclass "blank".
28
29       Being a subclass of the wide-character class "alnum", the  wide-charac‐
30       ter class "alpha" is disjoint from the wide-character class "punct".
31
32       The  wide-character  class  "alpha" is disjoint from the wide-character
33       class "digit".
34
35       The wide-character class "alpha" contains  the  wide-character  classes
36       "upper" and "lower".
37
38       The  wide-character  class "alpha" always contains at least the letters
39       'A' to 'Z' and 'a' to 'z'.
40

RETURN VALUE

42       The iswalpha() function returns nonzero if wc is a wide  character  be‐
43       longing  to  the  wide-character  class "alpha".  Otherwise, it returns
44       zero.
45

ATTRIBUTES

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

CONFORMING TO

57       POSIX.1-2001, POSIX.1-2008, C99.
58

NOTES

60       The behavior of iswalpha() depends on the LC_CTYPE category of the cur‐
61       rent locale.
62

SEE ALSO

64       isalpha(3), iswctype(3)
65

COLOPHON

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