1BSTRING(3) Linux Programmer's Manual BSTRING(3)
2
3
4
6 bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem,
7 memmove, memset - byte string operations
8
10 #include <string.h>
11
12 int bcmp(const void *s1, const void *s2, size_t n);
13
14 void bcopy(const void *src, void *dest, size_t n);
15
16 void bzero(void *s, size_t n);
17
18 void *memccpy(void *dest, const void *src, int c, size_t n);
19
20 void *memchr(const void *s, int c, size_t n);
21
22 int memcmp(const void *s1, const void *s2, size_t n);
23
24 void *memcpy(void *dest, const void *src, size_t n);
25
26 void *memfrob(void *s, size_t n);
27
28 void *memmem(const void *needle, size_t needlelen,
29 const void *haystack, size_t haystacklen);
30
31 void *memmove(void *dest, const void *src, size_t n);
32
33 void *memset(void *s, int c, size_t n);
34
36 The byte string functions perform operations on strings (byte arrays)
37 that are not necessarily null-terminated. See the individual man pages
38 for descriptions of each function.
39
41 The functions bcmp(), bcopy() and bzero() are obsolete. Use memcmp(),
42 memcpy() and memset() instead.
43
45 bcmp(3), bcopy(3), bzero(3), memccpy(3), memchr(3), memcmp(3), mem‐
46 cpy(3), memfrob(3), memmem(3), memmove(3), memset(3)
47
49 This page is part of release 4.16 of the Linux man-pages project. A
50 description of the project, information about reporting bugs, and the
51 latest version of this page, can be found at
52 https://www.kernel.org/doc/man-pages/.
53
54
55
56 2014-05-28 BSTRING(3)