Imported tab->space correction by redhat
[infodrom/manpages-de] / man3 / memchr.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
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 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Mon Apr 12 12:49:57 1993, David Metcalfe
28 .\" Modified Sat Jul 24 18:56:22 1993, Rik Faith (faith@cs.unc.edu)
29 .\" Translated into german by Roland Krause <Rokrause@aol.com>
30 .\"
31 .TH MEMCHR 3 "18. Januar 1997" "GNU" "Bibliotheksfunktionen"
32 .SH BEZEICHNUNG
33 memchr \- Durchsuche Speicherbereich nach einem Zeichen
34 .SH "ÜBERSICHT"
35 .nf
36 .B #include <string.h>
37 .sp
38 .BI "void *memchr(const void *" s ", int " c ", size_t " n );
39 .fi
40 .SH BESCHREIBUNG
41 Die Funktion
42 .B memchr()
43 durchsucht die ersten
44 .I n
45 Zeichen des durch
46 .I s
47 adressierten Speicherbereichs nach dem Zeichen \fIc\fR . Das erste
48 gefundene Zeichen
49 .Ic
50 (als vorzeichenloses 8-Bit-Zeichen interpretiert) beendet die Suche.
51 .SH "RÜCKGABEWERT"
52 Die Funktion
53 .B memchr()
54 liefert als Funktionsergebnis einen Zeiger auf das erste gefundene Zeichen
55 im durchsuchten Speicherbereich oder NULL, wenn dieses Zeichen nicht
56 gefunden wurde.
57 .SH "KONFORM ZU"
58 SVID 3, BSD 4.3, ISO 9899
59 .SH "SIEHE AUCH"
60 .BR index (3),
61 .BR rindex (3),
62 .BR strchr (3),
63 .BR strpbrk (3),
64 .BR strrchr (3),
65 .BR strsep (3),
66 .BR strspn (3),
67 .BR strstr (3).