1bstring(3)                 Library Functions Manual                 bstring(3)
2
3
4

NAME

6       bcmp,  bcopy,  bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem,
7       memmove, memset - byte string operations
8

LIBRARY

10       Standard C library (libc, -lc)
11

SYNOPSIS

13       #include <string.h>
14
15       int bcmp(const void s1[.n], const void s2[.n], size_t n);
16
17       void bcopy(const void src[.n], void dest[.n], size_t n);
18
19       void bzero(void s[.n], size_t n);
20
21       void *memccpy(void dest[.n], const void src[.n], int c, size_t n);
22
23       void *memchr(const void s[.n], int c, size_t n);
24
25       int memcmp(const void s1[.n], const void s2[.n], size_t n);
26
27       void *memcpy(void dest[.n], const void src[.n], size_t n);
28
29       void *memfrob(void s[.n], size_t n);
30
31       void *memmem(const void haystack[.haystacklen], size_t haystacklen,
32                    const void needle[.needlelen], size_t needlelen);
33
34       void *memmove(void dest[.n], const void src[.n], size_t n);
35
36       void *memset(void s[.n], int c, size_t n);
37

DESCRIPTION

39       The byte string functions perform operations on strings  (byte  arrays)
40       that are not necessarily null-terminated.  See the individual man pages
41       for descriptions of each function.
42

NOTES

44       The functions bcmp() and bcopy() are obsolete.  Use memcmp()  and  mem‐
45       move() instead.
46

SEE ALSO

48       bcmp(3),  bcopy(3),  bzero(3),  memccpy(3),  memchr(3), memcmp(3), mem‐
49       cpy(3), memfrob(3), memmem(3), memmove(3), memset(3), string(3)
50
51
52
53Linux man-pages 6.04              2023-01-07                        bstring(3)
Impressum