]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/iswalpha.3
MB_CUR_MAX.3, MB_LEN_MAX.3, btowc.3, fgetwc.3, fgetws.3, fputwc.3, fputws.3, fwide...
[thirdparty/man-pages.git] / man3 / iswalpha.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_ONEPARA)
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.
8 .\" %%%LICENSE_END
9 .\"
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .\" ISO/IEC 9899:1999
15 .\"
16 .TH ISWALPHA 3 1999-07-25 "GNU" "Linux Programmer's Manual"
17 .SH NAME
18 iswalpha \- test for alphabetic wide character
19 .SH SYNOPSIS
20 .nf
21 .B #include <wctype.h>
22 .sp
23 .BI "int iswalpha(wint_t " wc );
24 .fi
25 .SH DESCRIPTION
26 The
27 .BR iswalpha ()
28 function is the wide-character equivalent of the
29 .BR isalpha (3)
30 function.
31 It tests whether \fIwc\fP 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 \fIwc\fP is a wide character
64 belonging to the wide-character class "alpha".
65 Otherwise it returns zero.
66 .SH CONFORMING TO
67 C99.
68 .SH NOTES
69 The behavior of
70 .BR iswalpha ()
71 depends on the
72 .B LC_CTYPE
73 category of the
74 current locale.
75 .SH SEE ALSO
76 .BR isalpha (3),
77 .BR iswctype (3)