OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / man3 / iswupper.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 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sun Sep  5 22:21:05 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\" Updated Sun Dec 26 19:32:06 JST 1999
18 .\"           by Kentaro Shirakata <argrath@yo.rim.or.jp>
19 .\"
20 .TH ISWUPPER 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O .SH NAME
22 .SH Ì¾Á°
23 .\"O iswupper \- test for uppercase wide character
24 iswupper \- Âçʸ»ú¥ï¥¤¥Éʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë
25 .\"O .SH SYNOPSIS
26 .SH ½ñ¼°
27 .nf
28 .B #include <wctype.h>
29 .sp
30 .BI "int iswupper(wint_t " wc );
31 .fi
32 .\"O .SH DESCRIPTION
33 .SH ÀâÌÀ
34 .\"O The
35 .\"O .BR iswupper ()
36 .\"O function is the wide-character equivalent of the
37 .\"O .BR isupper (3)
38 .\"O function.
39 .\"O It tests whether \fIwc\fP is a wide character
40 .\"O belonging to the wide-character class "upper".
41 .BR iswupper ()
42 ´Ø¿ô¤Ï¡¢
43 .BR isupper (3)
44 ¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
45 ¤³¤Î´Ø¿ô¤Ï¡¢\fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper" ¤Ë°¤¹¤ë¥ï¥¤¥Éʸ»ú¤«¤É
46 ¤¦¤«¤òÄ´¤Ù¤ë¡£
47 .PP
48 .\"O The wide-character class "upper" is a subclass of the wide-character class
49 .\"O "alpha", and therefore also a subclass of the wide-character class "alnum", of
50 .\"O the wide-character class "graph" and of the wide-character class "print".
51 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper" ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alpha" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢¤ê¡¢
52 ¤·¤¿¤¬¤Ã¤Æ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alnum" ¤È¤½¤Î¿Æ¥¯¥é¥¹¤Ç¤¢¤ë "graph", ¤µ¤é¤Ë
53 ¤½¤Î¿Æ¥¯¥é¥¹¤Ç¤¢¤ë "print" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤â¤¢¤ë¡£
54 .PP
55 .\"O Being a subclass of the wide-character class "print", the wide-character class
56 .\"O "upper" is disjoint from the wide-character class "cntrl".
57 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "print" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper"
58 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "cntrl" ¤È¶¦ÄÌÉôʬ¤ò»ý¤¿¤Ê¤¤¡£
59 .PP
60 .\"O Being a subclass of the wide-character class "graph", the wide-character class
61 .\"O "upper" is disjoint from the wide-character class "space" and its subclass
62 .\"O "blank".
63 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "graph" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper"
64 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "space" ¤È¤½¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢¤ë "blank" ¤È¶¦ÄÌ
65 Éôʬ¤ò»ý¤¿¤Ê¤¤¡£
66 .PP
67 .\"O Being a subclass of the wide-character class "alnum", the wide-character class
68 .\"O "upper" is disjoint from the wide-character class "punct".
69 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alnum" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper"
70 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "punct" ¤È¶¦ÄÌÉôʬ¤ò»ý¤¿¤Ê¤¤¡£
71 .PP
72 .\"O Being a subclass of the wide-character class "alpha", the wide-character class
73 .\"O "upper" is disjoint from the wide-character class "digit".
74 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alpha" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper"
75 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit" ¤È¶¦ÄÌÉôʬ¤ò»ý¤¿¤Ê¤¤¡£
76 .PP
77 .\"O The wide-character class "upper" contains at least those characters \fIwc\fP
78 .\"O which are equal to \fItowupper(wc)\fP and different from \fItowlower(wc)\fP.
79 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper" ¤Ï¾¯¤Ê¤¯¤È¤â¡¢\fIwc\fP ¤È \fItowupper(wc)\fP
80 ¤¬Åù¤·¤¯¤Ê¤ê¡¢¤«¤Ä \fItowupper(wc)\fP ¤È°Û¤Ê¤ë¤è¤¦¤Êʸ»ú¤ò´Þ¤à¡£
81 .PP
82 .\"O The wide-character class "upper" always contains at least the
83 .\"O letters \(aqA\(aq to \(aqZ\(aq.
84 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper" ¤Ï¾¯¤Ê¤¯¤È¤â \(aqA\(aq ¤«¤é \(aqZ\(aq ¤òɬ¤º´Þ¤à¡£
85 .\"O .SH "RETURN VALUE"
86 .SH ÊÖ¤êÃÍ
87 .\"O The
88 .\"O .BR iswupper ()
89 .\"O function returns nonzero if \fIwc\fP is a wide character
90 .\"O belonging to the wide-character class "upper".
91 .\"O Otherwise it returns zero.
92 .BR iswupper ()
93 ´Ø¿ô¤Ï¡¢\fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "upper" ¤Ë°¤¹¤ë¥ï¥¤¥Éʸ»ú¤Ê¤é¤Ð
94 0 ¤Ç¤Ê¤¤ÃͤòÊÖ¤¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 0 ¤òÊÖ¤¹¡£
95 .\"O .SH "CONFORMING TO"
96 .SH ½àµò
97 C99.
98 .\"O .SH NOTES
99 .SH Ãí°Õ
100 .\"O The behavior of
101 .\"O .BR iswupper ()
102 .\"O depends on the
103 .\"O .B LC_CTYPE
104 .\"O category of the
105 .\"O current locale.
106 .BR iswupper ()
107 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
108 .B LC_CTYPE
109 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¡£
110 .PP
111 .\"O This function is not very appropriate for dealing with Unicode characters,
112 .\"O because Unicode knows about three cases: upper, lower and title case.
113 ¤³¤Î´Ø¿ô¤Ç Unicode ¤ò°·¤¦¤Î¤Ï¤¢¤Þ¤êŬÀڤǤʤ¤¡£¤Ê¤¼¤Ê¤é¡¢Unicode ¤Ë¤Ï
114 Âçʸ»ú¡¦¾®Ê¸»ú¡¦¥¿¥¤¥È¥ëʸ»ú¤Î 3 ¤Ä¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤é¤Ç¤¢¤ë¡£
115 .\"O .SH "SEE ALSO"
116 .SH ´ØÏ¢¹àÌÜ
117 .BR isupper (3),
118 .BR iswctype (3),
119 .BR towupper (3)