MEMCPY(3) Library Functions Manual MEMCPY(3)

memcpycopy bytes in memory

#include <string.h>

void *memcpy(void *s1, const void *s2, size_t n);

The memcpy() function copies n bytes from the object pointed to by s2 into the object pointed to by s1 . If copying takes place between objects that overlap, the behaviour is undefined.

The memcpy() function returns s1 ; no return value is reserved to indicate an error.

No errors are defined.

None.

The memcpy() function does not check for the overflowing of the receiving memory area.

None.

<string.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail