MEMCPY(3) Library Functions Manual MEMCPY(3)
NAME
memcpy — copy
bytes in memory
SYNOPSIS
#include <string.h> void *memcpy(void *s1, const void *s2, size_t n);
DESCRIPTION
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.
RETURN VALUE
The memcpy() function returns s1 ; no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
The memcpy() function does not check for the overflowing of the receiving memory area.
FUTURE DIRECTIONS
None.
SEE ALSO
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail