1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
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.
23 .\" References consulted:
24 .\" Linux libc source code
25 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
27 .\" Modified Mon Apr 12 13:06:15 1993, David Metcalfe
28 .\" Modified Sat Jul 24 21:30:40 1993, Rik Faith (faith@cs.unc.edu)
29 .\" Translated 2001-12-19 <walter.harms@informatik.uni-oldenburg.de>
31 .TH BSTRING 3 "12. April 1993" "GNU" "Linux Programmer's Manual"
33 bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem,
34 memmove, memset \- Byte-String bearbeiten
37 .B #include <string.h>
39 .BI "int bcmp(const void *" s1 ", const void *" s2 ", int " n );
41 .BI "void bcopy(const void *" src ", void *" dest ", int " n );
43 .BI "void bzero(void *" s ", int " n );
45 .BI "void *memccpy(void *" dest ", const void *" src ", int " c ", size_t " n );
47 .BI "void *memchr(const void *" s ", int " c ", size_t " n );
49 .BI "int memcmp(const void *" s1 ", const void *" s2 ", size_t " n );
51 .BI "void *memcpy(void *" dest ", const void *" src ", size_t " n );
53 .BI "void *memfrob(void *" s ", size_t " n );
55 .BI "void *memmem(const void *" needle ", size_t " needlelen ,
57 .BI "const void *" haystack ", size_t " haystacklen );
60 .BI "void *memmove(void *" dest ", const void *" src ", size_t " n );
62 .BI "void *memset(void *" s ", int " c ", size_t " n );
65 Die Byte-String-Funktionen arbeiten auf Zeichenketten, die nicht
66 notwendigerweise NULL-terminiert sind. Für alle Funktionen existiert
69 Die Funktionen bcmp(), bcopy() und bzero() sollten nicht mehr verwendet
70 werden, stattdessen stehen memcmp(), memcpy() und memset() zur
71 Verfügung. Die alten Funktionen sind auf einigen Systemen nicht
72 einmal vorhanden (non-Linux allerdings).