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