[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
memmove

Copy an overlapping contiguous memory block.
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <string.h>
void *memmove(void *dest,
   const void *source, size_t n);
Parameters:
Parameters for this facility are:
Remarks:
The memmove() function copies the first n characters of the item pointed to by source to the item pointed to by dest.
Unlike memcpy(), the memmove() function safely copies overlapping memory blocks.
Return:
memmove() returns the value of dest.
See Also:
"memcpy"
"memset"
"strcpy"
"strncpy"
For example of memmove() 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