mempcpy3
Copy bytes in memory
Part of memcpy(3).
Usage
#include <string.h>
void *
memcpy(void *dst, const void *src, size_t len);
void *
mempcpy(void *dst, const void *src, size_t len);
Library
Standard C Library (libc, -lc)
Overview
The memcpy() and mempcpy() functions copy len bytes from object src to object dst. If src and dst overlap, the results are not defined.
Return values
The memcpy() function returns the original value of dst.
The mempcpy() function returns a pointer to the byte after the last written byte.
Releases
14 releases since FreeBSD 13.1-RELEASE; the text changed 5 times.