VMS Help
CRTL, memcpy
*Conan The Librarian
|
Copies a specified number of bytes from one object to another.
Format
#include <string.h>
void *memcpy (void *dest, const void *source, size_t size);
The memcpy function has variants named _memcpy32 and _memcpy64
for use with 32-bit and 64-bit pointer sizes, respectively.
dest
A pointer to the destination object.
source
A pointer to the source object.
size
The length of the object to be copied.
The memcpy function copies size bytes from the object pointed
to by source to the object pointed to by dest; it does not check
for the overflow of the receiving memory area (dest). Unlike the
strcpy function, the memcpy function does not stop when a null
character is encountered.
x The value of dest.