1 .\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
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.
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
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
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
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 .\" Translated into german by Martin Schulze (joey@finlandia.infodrom.north.de)
30 .TH ISALPHA 3 "27. Mai 1996" "GNU" "Bibliotheksfunktionen"
32 isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower,
33 isprint, ispunct, isspace, isupper, isxdigit \- Zeichenklassifizierungs-Funktionen
38 .BI "int isalnum (int " "c" ");"
40 .BI "int isalpha (int " "c" ");"
42 .BI "int isascii (int " "c" ");"
44 .BI "int isblank (int " "c" ");"
46 .BI "int iscntrl (int " "c" ");"
48 .BI "int isdigit (int " "c" ");"
50 .BI "int isgraph (int " "c" ");"
52 .BI "int islower (int " "c" ");"
54 .BI "int isprint (int " "c" ");"
56 .BI "int ispunct (int " "c" ");"
58 .BI "int isspace (int " "c" ");"
60 .BI "int isupper (int " "c" ");"
62 .BI "int isxdigit (int " "c" ");"
65 Diese Funktionen prüfen, ob das Zeichen
71 sein muss, in eine Zeichenklasse entsprechend den aktuellen
72 Einstellungen für die Spracherweiterungen (locale)
76 prüft auf alphanumerische Zeichen, es ist äquivalent zu
77 .BI "(isalpha(" c ") || isdigit(" c "))" \fR.
80 prüft auf Buchstaben, in der standard \fB"C"\fP Spracherweiterung ist es
82 .BI "(isupper(" c ") || islower(" c "))" \fR.
83 In anderen Spracherweiterungen können weitere Zeichen sein, für die
85 wahr ist - Zeichen, die weder Groß- noch Kleinbuchstaben sind.
92 ist, das dem ASCII Zeichensatz entspricht. Diese Funktion ist eine
93 BSD-und auch SVID-Erweiterung.
96 prüft auf Leerzeichen, also ein Space oder ein Tab. Diese Funktion
97 ist eine GNU-Erweiterung.
100 prüft auf Kontrollzeichen.
103 prüft auf Ziffern ab.
106 prüft auf druckbare Zeichen außer Leerzeichen ab.
111 ein Kleinbuchstabe ist.
114 prüft auf druckbare Zeichen inklusive Leerzeichen ab.
117 prüft auf druckbare Zeichen, das kein Leerzeichen und kein
118 alphanumerisches Zeichen ist.
121 prüft auf Freizeichen. In den
125 Spracherweiterung sind dies: Leerzeichen, Seitenvorschub
131 Horizontaler Tabulator
133 und verticaler Tabulator
137 prüft auf Großbuchstaben ab.
142 eine hexadezimales Ziffer ist, also eine von
144 .BR "0 1 2 3 4 5 6 7 8 9 0 a b c d e f A B C D E F" .
148 in eine der entsprechenden Kategorien fällt, wird eine Zahl ungleich
149 null zurückgegeben, ansonsten null.
153 ist sowohl eine BSD- als auch eine SVID-Erweiterung.
155 ist eine GNU-Erweiterung.
157 Die Details, welche Zeichen zu welcher Klasse gehören, sind von der
158 aktuellen Spracherweiterung abhängig. Zum Beispiel wird
162 Spracherweiterung kein Ä erkennen.