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
|
.\" (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 1997-08-29, Ueyama Rui <rui@campus.or.jp>
.\" Updated 1999-07-16, Kentaro Shirakata <argrath@yo.rim.or.jp>
.\" Updated 2005-02-26, Akihiro MOTOKI <amotoki@dd.iij4u.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
δؿϡߤΥ˽ä
.I c
ʬह롣
.I c
.B unsigned char
.BR EOF
ǤʤФʤʤ
.TP
.B "isalnum()"
ѻޤϿǤ뤫Ĵ٤롣
.BI "(isalpha(" c ") || isdigit(" c "))" \fR
Ǥ롣
.TP
.B "isalpha()"
ե٥åȤɤĴ٤롣ɸ \fB"C"\fP Ǥ
.BI "(isupper(" c ") || islower(" c "))" \fR
Ǥ롣¾ΥǤϡʸǤ⾮ʸǤʤ¾ʸǤ
.B isalpha()
true ֤Ȥ롣
.TP
.B "isascii()"
\fIc\fP ASCIIʸåȤ˹פ 7ӥåȤ
.I unsigned char
Ǥ뤫Ĵ٤롣δؿ BSD SVID ˤĥǤ롣
.TP
.B "isblank()"
ʸ (ڡ) Ǥ뤫Ĵ٤롣
.TP
.B "iscntrl()"
ʸɤĴ٤롣
.TP
.B "isdigit()"
(09) ɤĴ٤롣
.TP
.B "isgraph()"
ɽǽʸɤĴ٤롣ڡϴޤޤʤ
.TP
.B "islower()"
ʸɤĴ٤롣
.TP
.B "isprint()"
ɽǽʸɤĴ٤롣ڡޤޤ롣
.TP
.B "ispunct()"
ɽǽʸɤĴ٤롣ڡȱѿϴޤޤʤ
.TP
.B "isspace()"
ʸɤĴ٤롣
.B """C"""
뤫
.B """POSIX"""
ǤϡʸȤϡڡեե
.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 ʳ֤
Ǥʤ 0 ֤
.SH
ANSI - C, BSD 4.3.
\fBisascii()\fP BSD SVID γĥǤ롣
\fBisblank()\fP ISO C99 7.4.1.3 ˽Ƥ롣
.SH
ʸɤμ뤫ȤȤϡߤΥ˰¸롣
ȤСǥեȤ
.B "C"
Ǥ
.B isupper()
A Υ饦ȤǧǤʤΤǡ줬ʸȤȤ狼ʤ
.SH Ϣ
.BR tolower (3),
.BR toupper (3),
.BR setlocale (3),
.BR ascii (7),
.BR locale (7)
|