OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man3 / isalpha.3
1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\" License.
23 .\"
24 .\" Modified Sat Jul 24 19:10:00 1993 by Rik Faith (faith@cs.unc.edu)
25 .\" Modified Sun Aug 21 17:51:50 1994 by Rik Faith (faith@cs.unc.edu)
26 .\" Modified Sat Sep  2 21:52:01 1995 by Jim Van Zandt <jrv@vanzandt.mv.com>
27 .\" Modified Mon May 27 22:55:26 1996 by Martin Schulze (joey@linux.de)
28 .\"
29 .\" Japanese Version Copyright (c) 1997 Ueyama Rui
30 .\"         all rights reserved.
31 .\" Translated 1997-08-29, Ueyama Rui <rui@campus.or.jp>
32 .\" Updated 1999-07-16, Kentaro Shirakata <argrath@yo.rim.or.jp>
33 .\" Updated 2005-02-26, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
34 .\" Updated 2007-05-01, Akihiro MOTOKI, LDP v2.46
35 .\"
36 .TH ISALPHA 3 2009-03-15 "GNU" "Linux Programmer's Manual"
37 .SH Ì¾Á°
38 isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower,
39 isprint, ispunct, isspace, isupper, isxdigit \- Ê¸»ú¤òʬÎह¤ë
40 .SH ½ñ¼°
41 .nf
42 .B #include <ctype.h>
43 .sp
44 .BI "int isalnum(int " "c" );
45 .br
46 .BI "int isalpha(int " "c" );
47 .br
48 .BI "int isascii(int " "c" );
49 .br
50 .BI "int isblank(int " "c" );
51 .br
52 .BI "int iscntrl(int " "c" );
53 .br
54 .BI "int isdigit(int " "c" );
55 .br
56 .BI "int isgraph(int " "c" );
57 .br
58 .BI "int islower(int " "c" );
59 .br
60 .BI "int isprint(int " "c" );
61 .br
62 .BI "int ispunct(int " "c" );
63 .br
64 .BI "int isspace(int " "c" );
65 .br
66 .BI "int isupper(int " "c" );
67 .br
68 .BI "int isxdigit(int " "c" );
69 .fi
70 .sp
71 .in -4n
72 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
73 .RB ( feature_test_macros (7)
74 »²¾È):
75 .in
76 .sp
77 .ad l
78 .BR isascii ():
79 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
80 .br
81 .BR isblank ():
82 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
83 .I cc\ -std=c99
84 .ad b
85 .SH ÀâÌÀ
86 ¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Ë½¾¤Ã¤Æ
87 .I c
88 ¤òʬÎह¤ë¡£
89 .I c
90 ¤Ï
91 .I unsigned char
92 ¤«
93 .B EOF
94 ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
95 .TP
96 .BR isalnum ()
97 ±Ñ»ú¤Þ¤¿¤Ï¿ô»ú¤Ç¤¢¤ë¤«¤òÄ´¤Ù¤ë¡£
98 .BI "(isalpha(" c ") || isdigit(" c "))" \fR
99 ¤ÈÅù²Á¤Ç¤¢¤ë¡£
100 .TP
101 .BR isalpha ()
102 ¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¤«¤É¤¦¤«Ä´¤Ù¤ë¡£É¸½à¤Î \fB"C"\fP ¥í¥±¡¼¥ë¤Ç¤Ï
103 .BI "(isupper(" c ") || islower(" c "))" \fR
104 ¤ÈÅù²Á¤Ç¤¢¤ë¡£Â¾¤Î¥í¥±¡¼¥ë¤Ç¤Ï¡¢Âçʸ»ú¤Ç¤â¾®Ê¸»ú¤Ç¤â¤Ê¤¤Â¾¤Îʸ»ú¤Ç¤â
105 .BR isalpha ()
106 ¤¬ true ¤òÊÖ¤¹¤³¤È¤¬¤¢¤ë¡£
107 .TP
108 .BR isascii ()
109 \fIc\fP ¤¬¡¢ASCIIʸ»ú¥»¥Ã¥È¤Ë¹çÃפ¹¤ë 7¥Ó¥Ã¥È¤Î
110 .I unsigned char
111 ¤Ç¤¢¤ë¤«¤òÄ´¤Ù¤ë¡£
112 .TP
113 .BR isblank ()
114 ¶õÇòʸ»ú (¥¹¥Ú¡¼¥¹¤«¥¿¥Ö) ¤Ç¤¢¤ë¤«¤òÄ´¤Ù¤ë¡£
115 .TP
116 .BR iscntrl ()
117 À©¸æʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£
118 .TP
119 .BR isdigit ()
120 ¿ô»ú (0¡Á9) ¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£
121 .TP
122 .BR isgraph ()
123 ɽ¼¨²Äǽ¤Êʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£¥¹¥Ú¡¼¥¹¤Ï´Þ¤Þ¤ì¤Ê¤¤¡£
124 .TP
125 .BR islower ()
126 ¾®Ê¸»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£
127 .TP
128 .BR isprint ()
129 ɽ¼¨²Äǽ¤Êʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£¥¹¥Ú¡¼¥¹¤â´Þ¤Þ¤ì¤ë¡£
130 .TP
131 .BR ispunct ()
132 ɽ¼¨²Äǽ¤Êʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£¥¹¥Ú¡¼¥¹¤È±Ñ¿ô»ú¤Ï´Þ¤Þ¤ì¤Ê¤¤¡£
133 .TP
134 .BR isspace ()
135 ¶õÇòʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£
136 .B """C"""
137 ¥í¥±¡¼¥ë¤«
138 .B """POSIX"""
139 ¥í¥±¡¼¥ë¤Ç¤Ï¡¢¶õÇòʸ»ú¤È¤Ï¡¢¥¹¥Ú¡¼¥¹¡¢¥Õ¥©¡¼¥à¥Õ¥£¡¼¥É
140 .RB ( \(aq\ef\(aq )
141 ¡¢²þ¹Ô(newline)
142 .RB ( \(aq\en\(aq )
143 ¡¢Éüµ¢(carriage return)
144 .RB ( \(aq\er\(aq )
145 ¡¢¿åÊ¿¥¿¥Ö
146 .RB ( \(aq\et\(aq )
147 ¡¢¿âľ¥¿¥Ö
148 .RB ( \(aq\ev\(aq )
149 ¤Ç¤¢¤ë¡£
150 .TP
151 .BR isupper ()
152 ¾®Ê¸»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£
153 .TP
154 .BR isxdigit ()
155 16¿Ê¿ô¤Ç¤Î¿ô»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£
156 .br
157 .B "0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F"
158 ¤Îʸ»ú¤Ç¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¤³¤È¤ÈÅù²Á¤Ç¤¢¤ë¡£
159 .SH ÊÖ¤êÃÍ
160 ʸ»ú
161 .I c
162 ¤¬Ä´¤Ù¤¿Ê¸»ú¤Î¼ïÎà¤Ë¹ç¤Ã¤Æ¤¤¤ì¤Ð 0 °Ê³°¤òÊÖ¤¹¡£
163 ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 0 ¤òÊÖ¤¹¡£
164 .SH ½àµò
165 C99, 4.3BSD.
166 C89 ¤Ç¤Ï¡¢¤³¤ì¤é¤Î´Ø¿ô¤Î¤¦¤Á
167 .BR isascii ()
168 ¤È
169 .BR isblank ()
170 °Ê³°¤Î
171 ¤¹¤Ù¤Æ¤¬µ¬Äꤵ¤ì¤Æ¤¤¤ë¡£
172 .BR isascii ()
173 ¤Ï BSD ¤ä SVr4 ¤Î³ÈÄ¥¤Ç¤¢¤ë¡£
174 .BR isblank ()
175 ¤Ï POSIX.1-2001 ¤È C99 7.4.1.3 ¤Ë½àµò¤·¤Æ¤¤¤ë¡£
176 POSIX.1-2008 ¤Ï¡¢
177 .BR isascii ()
178 ¤òÇÑ»ßͽÄê¤È¤·¤Æ¤¤¤ë¡£
179 ¥í¡¼¥«¥é¥¤¥º¤µ¤ì¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢°Ü¿¢À­¤ò³ÎÊݤ·¤Ä¤Ä¡¢
180 ¤³¤Î´Ø¿ô¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤ÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
181 .SH Ãí°Õ
182 ¤¢¤ëʸ»ú¤¬¤É¤Î¼ïÎà¤ËÆþ¤ë¤«¤È¤¤¤¦¤³¤È¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Ë°Í¸¤¹¤ë¡£
183 ¤¿¤È¤¨¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤Î
184 .B "C"
185 ¥í¥±¡¼¥ë¤Ç¤Ï
186 .BR isupper ()
187 ¤Ï A ¤Î¥¦¥à¥é¥¦¥È¤òǧ¼±¤Ç¤­¤Ê¤¤¤Î¤Ç¡¢¤½¤ì¤¬Âçʸ»ú¤À¤È¤¤¤¦¤³¤È¤¬¤ï¤«¤é¤Ê¤¤¡£
188 .SH ´ØÏ¢¹àÌÜ
189 .BR iswalnum (3),
190 .BR iswalpha (3),
191 .BR iswblank (3),
192 .BR iswcntrl (3),
193 .BR iswdigit (3),
194 .BR iswgraph (3),
195 .BR iswlower (3),
196 .BR iswprint (3),
197 .BR iswpunct (3),
198 .BR iswspace (3),
199 .BR iswupper (3),
200 .BR iswxdigit (3),
201 .BR setlocale (3),
202 .BR toascii (3),
203 .BR tolower (3),
204 .BR toupper (3),
205 .BR ascii (7),
206 .BR locale (7)