OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / iswalpha.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .TH ISWALPHA 3  1999-07-25 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 iswalpha \- test for alphabetic wide character
17 .SH SYNOPSIS
18 .nf
19 .B #include <wctype.h>
20 .sp
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 \fIwc\fP is a wide character
30 belonging to the wide-character class "alpha".
31 .PP
32 The wide-character class "alpha" is a subclass of the
33 wide-character class "alnum",
34 and therefore also a subclass of the wide-character class "graph" and
35 of the wide-character class "print".
36 .PP
37 Being a subclass of the wide-character class "print",
38 the wide-character class
39 "alpha" is disjoint from the wide-character class "cntrl".
40 .PP
41 Being a subclass of the wide-character class "graph",
42 the wide-character class "alpha" is disjoint from
43 the wide-character class "space" and its subclass "blank".
44 .PP
45 Being a subclass of the wide-character class "alnum",
46 the wide-character class "alpha" is disjoint from the
47 wide-character class "punct".
48 .PP
49 The wide-character class "alpha" is disjoint from the wide-character class
50 "digit".
51 .PP
52 The wide-character class "alpha" contains the wide-character classes "upper"
53 and "lower".
54 .PP
55 The wide-character class "alpha" always contains at least the
56 letters \(aqA\(aq to \(aqZ\(aq and \(aqa\(aq to \(aqz\(aq.
57 .SH "RETURN VALUE"
58 The
59 .BR iswalpha ()
60 function returns nonzero
61 if \fIwc\fP is a wide character
62 belonging to the wide-character class "alpha".
63 Otherwise it returns zero.
64 .SH "CONFORMING TO"
65 C99.
66 .SH NOTES
67 The behavior of
68 .BR iswalpha ()
69 depends on the
70 .B LC_CTYPE
71 category of the
72 current locale.
73 .SH "SEE ALSO"
74 .BR isalpha (3),
75 .BR iswctype (3)