1ISWALPHA(3) Linux Programmer's Manual ISWALPHA(3)
2
3
4
6 iswalpha - test for alphabetic wide character
7
9 #include <wctype.h>
10
11 int iswalpha(wint_t wc);
12
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
42 The iswalpha() function returns nonzero if wc is a wide character
43 belonging to the wide-character class "alpha". Otherwise, it returns
44 zero.
45
47 For an explanation of the terms used in this section, see
48 attributes(7).
49
50 ┌───────────┬───────────────┬────────────────┐
51 │Interface │ Attribute │ Value │
52 ├───────────┼───────────────┼────────────────┤
53 │iswalpha() │ Thread safety │ MT-Safe locale │
54 └───────────┴───────────────┴────────────────┘
56 POSIX.1-2001, POSIX.1-2008, C99.
57
59 The behavior of iswalpha() depends on the LC_CTYPE category of the cur‐
60 rent locale.
61
63 isalpha(3), iswctype(3)
64
66 This page is part of release 5.07 of the Linux man-pages project. A
67 description of the project, information about reporting bugs, and the
68 latest version of this page, can be found at
69 https://www.kernel.org/doc/man-pages/.
70
71
72
73GNU 2015-08-08 ISWALPHA(3)