[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
memcpy

Copy a contiguous memory block.
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <string.h>
void *memcpy(void *dest,
   const void *source, size_t n);
Parameters:
Parameters for this facility are:
Remarks:
The memcpy() function copies the first n characters from the item pointed to by source to the item pointed to by dest. The behavior of memcpy() is undefined if the areas pointed to by dest and source overlap. The memmove() function reliably copies overlapping memory blocks.
Return:
memcpy() returns the value of dest.
See Also:
"memmove"
"strcpy"
"strncpy"
For example of memcpy() usage:
Refer to "Example of memchr() usage.".
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000