]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswalpha.3
fuse.4: ffix
[thirdparty/man-pages.git] / man3 / iswalpha.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
89e3ffe9 3.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
fea681da
MK
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
fe382ebf 8.\" %%%LICENSE_END
fea681da
MK
9.\"
10.\" References consulted:
11.\" GNU glibc-2 source code and manual
12.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 13.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
14.\" ISO/IEC 9899:1999
15.\"
460495ca 16.TH ISWALPHA 3 2015-08-08 "GNU" "Linux Programmer's Manual"
fea681da
MK
17.SH NAME
18iswalpha \- test for alphabetic wide character
19.SH SYNOPSIS
20.nf
21.B #include <wctype.h>
68e4db0a 22.PP
fea681da
MK
23.BI "int iswalpha(wint_t " wc );
24.fi
25.SH DESCRIPTION
60a90ecd
MK
26The
27.BR iswalpha ()
28function is the wide-character equivalent of the
29.BR isalpha (3)
30function.
35cfd378
MK
31It tests whether
32.I wc
33is a wide character
d0f17b57 34belonging to the wide-character class "alpha".
fea681da 35.PP
988db661
MK
36The wide-character class "alpha" is a subclass of the
37wide-character class "alnum",
d0f17b57
MK
38and therefore also a subclass of the wide-character class "graph" and
39of the wide-character class "print".
fea681da 40.PP
d0f17b57
MK
41Being a subclass of the wide-character class "print",
42the wide-character class
43"alpha" is disjoint from the wide-character class "cntrl".
fea681da 44.PP
d0f17b57 45Being a subclass of the wide-character class "graph",
988db661 46the wide-character class "alpha" is disjoint from
d0f17b57 47the wide-character class "space" and its subclass "blank".
fea681da 48.PP
d0f17b57
MK
49Being a subclass of the wide-character class "alnum",
50the wide-character class "alpha" is disjoint from the
51wide-character class "punct".
fea681da 52.PP
d0f17b57 53The wide-character class "alpha" is disjoint from the wide-character class
fea681da
MK
54"digit".
55.PP
d0f17b57 56The wide-character class "alpha" contains the wide-character classes "upper"
fea681da
MK
57and "lower".
58.PP
f81fb444
MK
59The wide-character class "alpha" always contains at least the
60letters \(aqA\(aq to \(aqZ\(aq and \(aqa\(aq to \(aqz\(aq.
47297adb 61.SH RETURN VALUE
60a90ecd
MK
62The
63.BR iswalpha ()
c7094399 64function returns nonzero
35cfd378
MK
65if
66.I wc
67is a wide character
d0f17b57 68belonging to the wide-character class "alpha".
2b9b829d 69Otherwise, it returns zero.
79ea1699 70.SH ATTRIBUTES
5c62248a
MK
71For an explanation of the terms used in this section, see
72.BR attributes (7).
73.TS
74allbox;
75lb lb lb
76l l l.
77Interface Attribute Value
78T{
79ea1699 79.BR iswalpha ()
5c62248a
MK
80T} Thread safety MT-Safe locale
81.TE
47297adb 82.SH CONFORMING TO
1ac0308a 83POSIX.1-2001, POSIX.1-2008, C99.
fea681da 84.SH NOTES
d9bfdb9c 85The behavior of
60a90ecd 86.BR iswalpha ()
1274071a
MK
87depends on the
88.B LC_CTYPE
89category of the
fea681da 90current locale.
47297adb 91.SH SEE ALSO
e37e3282
MK
92.BR isalpha (3),
93.BR iswctype (3)