bstring(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
BSTRING(3)              NetBSD Library Functions Manual             BSTRING(3)

memccpy, memchr, memcmp, memcpy, memmem, memmove, memset -- byte string operations
Standard C Library (libc, -lc)
#include <string.h> void * memchr(const void *b, int c, size_t len); int memcmp(const void *b1, const void *b2, size_t len); void * memccpy(void *dst, const void *src, int c, size_t len); void * memcpy(void *dst, const void *src, size_t len); void * memmem(const void *block, size_t blen, const void *pat, size_t plen); void * memmove(void *dst, const void *src, size_t len); void * memset(void *b, int c, size_t len);
These functions operate on variable length strings of bytes. They do not check for terminating nul bytes as the routines listed in string(3) do. See the specific manual pages for more information.
memccpy(3), memchr(3), memcmp(3), memcpy(3), memmem(3), memmove(3), memset(3)
The functions memchr(), memcmp(), memcpy(), memmove(), and memset() con- form to ANSI X3.159-1989 (``ANSI C89'').
The function memccpy() appeared in 4.3BSD. NetBSD 9.3 February 9, 2007 NetBSD 9.3
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.