File: isalpha.3

package info (click to toggle)
manpages-de 0.4-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,808 kB
  • ctags: 4
  • sloc: sh: 7,666; makefile: 60
file content (168 lines) | stat: -rw-r--r-- 4,643 bytes parent folder | download | duplicates (5)
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
168
.\" (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)
.\" Translated into german by Martin Schulze (joey@finlandia.infodrom.north.de)
.\"
.TH ISALPHA 3 "27. Mai 1996" "GNU" "Bibliotheksfunktionen"
.SH BEZEICHNUNG
isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, 
isprint, ispunct, isspace, isupper, isxdigit \- Zeichenklassifizierungs-Funktionen
.SH "BERSICHT"
.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 BESCHREIBUNG
Diese Funktionen prfen, ob das Zeichen
.IR c ,
das den Wert eines
.B unsigned char
haben oder
.B EOF 
sein mu, in eine Zeichenklasse entsprechend den aktuellen
Einstellungen fr die Spracherweiterungen (locale)
pat.
.TP 
.B "isalnum()"
prft auf alphanumerische Zeichen, es ist quivalent zu
.BI "(isalpha(" c ") || isdigit(" c "))" \fR.
.TP
.B "isalpha()"
prft auf Buchstaben, in der standard \fB"C"\fP Spracherweiterung ist es
quivalent zu
.BI "(isupper(" c ") || islower(" c "))" \fR.
In anderen Spracherweiterungen knnen weitere Zeichen sein, fr die
.B isalpha()
wahr ist - Zeichen, die weder Gro- noch Kleinbuchstaben sind.
.TP
.B "isascii()"
prft, ob
.I c
ein 7-bit
.I unsigned char
ist, das dem ASCII Zeichensatz entspricht.  Diese Funktion ist eine
BSD-und auch SVID-Erweiterung.
.TP
.B "isblank()"
prft auf Leerzeichen, also ein Space oder ein Tab.  Diese Funktion
ist eine GNU-Erweiterung.
.TP
.B "iscntrl()"
prft auf Kontrollzeichen.
.TP
.B "isdigit()"
prft auf Ziffern ab.
.TP
.B "isgraph()"
prft auf druckbare Zeichen auer Leerzeichen ab.
.TP
.B "islower()"
prft, ob
.I c
ein Kleinbuchstabe ist.
.TP
.B "isprint()"
prft auf druckbare Zeichen inklusive Leerzeichen ab.
.TP
.B "ispunct()"
prft auf druckbare Zeichen, das kein Leerzeichen und kein
alphanumerisches Zeichen ist.
.TP
.B "isspace()"
prft auf Freizeichen.  In den
.B """C"""
and
.B """POSIX"""
Spracherweiterung sind dies: Leerzeichen, Seitenvorschub
.RB ( '\ef' ),
Zeilenumbruch
.RB ( '\en' ),
Carriage Return
.RB ( '\er' ),
Horizontaler Tabulator
.RB ( '\et' ),
und verticaler Tabulator
.RB ( '\ev' ).
.TP
.B "isupper()"
prft auf Grobuchstaben ab.
.TP
.B "isxdigit()"
prft, ob
.I c
eine hexadezimales Ziffer ist, also eine von
.nl
.BR "0 1 2 3 4 5 6 7 8 9 0 a b c d e f A B C D E F" .
.SH "RCKGABEWERT"
Wenn das Zeichen
.I c
in eine der entsprechenden Kategorien fllt, wird eine Zahl ungleich
null zurckgegeben, ansonsten null.
.SH "KONFORM ZU"
ANSI - C, BSD 4.3.
.B isascii()
ist sowohl eine BSD- als auch eine SVID-Erweiterung.
.B isblank()
ist eine GNU-Erweiterung.
.SH BUGS
Die Details, welche Zeichen zu welcher Klasse gehren, sind von der
aktuellen Spracherweiterung abhngig.  Zum Beispiel wird
.B isupper()
in der standard
.B "C"
Spracherweiterung kein  erkennen.
.SH "SIEHE AUCH"
.BR tolower (3),
.BR toupper (3),
.BR setlocale (3),
.BR ascii (7),
.BR locale (7).