memcpy---copy memory regions
#include <string.h> void* memcpy(void *out, const void *in, size_t n);
This function copies n bytes from the memory region pointed to by in to the memory region pointed to by out.
If the regions overlap, the behavior is undefined.
memcpy returns a pointer to the first byte of the out
memcpy is ANSI C.
memcpy requires no supporting OS subroutines.
Go to the first, previous, next, last section, table of contents.