File: isalpha.3

package info (click to toggle)
manpages-ja 0.4.0.0.20020315-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 14,808 kB
  • ctags: 4
  • sloc: sh: 9,595; perl: 157; makefile: 62
file content (167 lines) | stat: -rw-r--r-- 4,560 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
.\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one
.\" 
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein.  The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\" 
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\" License.
.\"
.\" Modified Sat Jul 24 19:10:00 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Sun Aug 21 17:51:50 1994 by Rik Faith (faith@cs.unc.edu)
.\" Modified Sat Sep  2 21:52:01 1995 by Jim Van Zandt <jrv@vanzandt.mv.com>
.\" Modified Mon May 27 22:55:26 1996 by Martin Schulze (joey@linux.de)
.\"
.\" Japanese Version Copyright (c) 1997 Ueyama Rui
.\"         all rights reserved.
.\" Translated Fri Aug 29 19:47:32 JST 1997
.\"         by Ueyama Rui <rui@campus.or.jp>
.\"
.\" Japanese Version Last Modified Tue Jul 16 17:29:24 1999
.\"     by Kentaro Shirakata <argrath@yo.rim.or.jp>
.\"
.TH ISALPHA 3  "September 2, 1995" "GNU" "Linux Programmer's Manual"
.SH ̾
isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, 
isprint, ispunct, isspace, isupper, isxdigit \- ʸʬह
.SH 
.nf
.B #include <ctype.h>
.sp
.BI "int isalnum(int " "c" );
.nl
.BI "int isalpha(int " "c" );
.nl
.BI "int isascii(int " "c" );
.nl
.BI "int isblank(int " "c" );
.nl
.BI "int iscntrl(int " "c" );
.nl
.BI "int isdigit(int " "c" );
.nl
.BI "int isgraph(int " "c" );
.nl
.BI "int islower(int " "c" );
.nl
.BI "int isprint(int " "c" );
.nl
.BI "int ispunct(int " "c" );
.nl
.BI "int isspace(int " "c" );
.nl
.BI "int isupper(int " "c" );
.nl
.BI "int isxdigit(int " "c" );
.fi
.SH 
δؿ
.IR c
åơߤlocale˽ʬह롣
.IR c

.B unsigned char

.BR EOF
ǤʤФʤʤ
.TP 
.B "isalnum()"
ϱѻޤϿǤ뤫Ĵ٤롣äƤ
.BI "(isalpha(" c ") || isdigit(" c "))" \fR.

.TP
.B "isalpha()"
ϥե٥åȤɤĴ٤롣ɸ\fB"C"\fP localeǤ
.BI "(isupper(" c ") || islower(" c "))" \fR.
¾localeǤϡʸǤ⾮ʸǤʤ¾ʸǤ
.B isalpha()
true֤Ȥ롣
.TP
.B "isascii()"
\fIc\fPASCIIʸåȤ˹ä7ӥåȤ
.I unsigned char
Ǥ뤫Ĵ٤롣δؿBSDSVIDĥΤǤ롣
.TP
.B "isblank()"
϶ʸǤ뤫Ĵ٤롣ζʸȤϡڡ֤ΤȤ
롣δؿGNUĥΤǤ롣
.TP
.B "iscntrl()"
ʸɤĴ٤롣
.TP
.B "isdigit()"
Ͽ (09ޤ)ɤĴ٤롣
.TP
.B "isgraph()"
ɽǽʸɤĴ٤롣
ڡɽǽʸȤߤʤʤ
.TP
.B "islower()"
ϾʸɤĴ٤롣
.TP
.B "isprint()"
ɽǽʸɤĴ٤롣ξϥڡޤࡣ
.TP
.B "ispunct()"
ɽǽʸɤĴ٤롣ξϥڡȱѿ
.TP
.B "isspace()"
϶ʸɤĴ٤롣
.B """C"""
locale
.B """POSIX"""
localeǡʸȤϡڡեե
.RB ( '\ef' )
(newline)
.RB ( '\en' ),
(carriage return)
.RB ( '\er' ),
ʿ
.RB ( '\et' ),
ľ
.RB ( '\ev' ).
Ǥ롣
.TP
.B "isupper()"
ϾʸɤĴ٤롣
.TP
.B "isxdigit()"
16ʿǤοɤĴ٤롣
.BR "0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F" .
ʸǤ뤫ɤĴ٤뤳ȤƱǤ롣
.SH ֤
ʸ
.I c
Ĵ٤ʸμ˹äƤ0ʳ֤Ǥʤ
.SH 
ANSI - C, BSD 4.3.
\fBisascii()\fPBSDSVIDγĥǤ롣
ޤ\fBisblank()\fPGNUγĥǤ롣
.SH 
ʸɤμ뤫ȤȤϡߤlocale˰¸Ƥ롣
ȤС
.B "C"
localeˤ
.B isupper()
AΥ饦ȤǧǤʤΤǡ줬ʸȤȤ狼ʤ
.SH Ϣ
.BR tolower (3),
.BR toupper (3),
.BR setlocale (3),
.BR ascii (7),
.BR locale (7)