]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswalpha.3
man*/: srcfix (Use .P instead of .PP or .LP)
[thirdparty/man-pages.git] / man3 / iswalpha.3
CommitLineData
a1eaacb1 1'\" t
fea681da
MK
2.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3.\"
e4a74ca8 4.\" SPDX-License-Identifier: GPL-2.0-or-later
fea681da
MK
5.\"
6.\" References consulted:
7.\" GNU glibc-2 source code and manual
8.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 9.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
10.\" ISO/IEC 9899:1999
11.\"
4c1c5274 12.TH iswalpha 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
13.SH NAME
14iswalpha \- test for alphabetic wide character
4508f8a0
AC
15.SH LIBRARY
16Standard C library
8fc3b2cf 17.RI ( libc ", " \-lc )
fea681da
MK
18.SH SYNOPSIS
19.nf
20.B #include <wctype.h>
c6d039a3 21.P
fea681da
MK
22.BI "int iswalpha(wint_t " wc );
23.fi
24.SH DESCRIPTION
60a90ecd
MK
25The
26.BR iswalpha ()
27function is the wide-character equivalent of the
28.BR isalpha (3)
29function.
35cfd378
MK
30It tests whether
31.I wc
32is a wide character
d0f17b57 33belonging to the wide-character class "alpha".
c6d039a3 34.P
988db661
MK
35The wide-character class "alpha" is a subclass of the
36wide-character class "alnum",
d0f17b57
MK
37and therefore also a subclass of the wide-character class "graph" and
38of the wide-character class "print".
c6d039a3 39.P
d0f17b57
MK
40Being a subclass of the wide-character class "print",
41the wide-character class
42"alpha" is disjoint from the wide-character class "cntrl".
c6d039a3 43.P
d0f17b57 44Being a subclass of the wide-character class "graph",
988db661 45the wide-character class "alpha" is disjoint from
d0f17b57 46the wide-character class "space" and its subclass "blank".
c6d039a3 47.P
d0f17b57
MK
48Being a subclass of the wide-character class "alnum",
49the wide-character class "alpha" is disjoint from the
50wide-character class "punct".
c6d039a3 51.P
d0f17b57 52The wide-character class "alpha" is disjoint from the wide-character class
fea681da 53"digit".
c6d039a3 54.P
d0f17b57 55The wide-character class "alpha" contains the wide-character classes "upper"
fea681da 56and "lower".
c6d039a3 57.P
f81fb444 58The wide-character class "alpha" always contains at least the
b957f81f 59letters \[aq]A\[aq] to \[aq]Z\[aq] and \[aq]a\[aq] to \[aq]z\[aq].
47297adb 60.SH RETURN VALUE
60a90ecd
MK
61The
62.BR iswalpha ()
c7094399 63function returns nonzero
35cfd378
MK
64if
65.I wc
66is a wide character
d0f17b57 67belonging to the wide-character class "alpha".
2b9b829d 68Otherwise, it returns zero.
79ea1699 69.SH ATTRIBUTES
5c62248a
MK
70For an explanation of the terms used in this section, see
71.BR attributes (7).
72.TS
73allbox;
c466875e 74lbx lb lb
5c62248a
MK
75l l l.
76Interface Attribute Value
77T{
9e54434e
BR
78.na
79.nh
79ea1699 80.BR iswalpha ()
5c62248a
MK
81T} Thread safety MT-Safe locale
82.TE
3113c7f3 83.SH STANDARDS
4131356c
AC
84C11, POSIX.1-2008.
85.SH HISTORY
86POSIX.1-2001, C99.
fea681da 87.SH NOTES
d9bfdb9c 88The behavior of
60a90ecd 89.BR iswalpha ()
1274071a
MK
90depends on the
91.B LC_CTYPE
92category of the
fea681da 93current locale.
47297adb 94.SH SEE ALSO
e37e3282
MK
95.BR isalpha (3),
96.BR iswctype (3)