Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->memmove()


#include <string.h>

char *memmove(void *dest,void* src, size_t count);Move characters from one buffer to another


destPointer to buffer to copy to
srcPointer to buffer to copy from
countNumber of characters to copy


This function copies count bytes from src to dest.  If the source and destination buffers overlap, then the function will ensure that the original bytes in the overlapping region are copied before they are overwritten.

Return Value

The function returns a pointer to the start of the start of the destination buffer.