Standard C Functions


memmove


Syntax

#include <string.h>
void *memmove(void *dest, const void *src, size_t count);

Arguments

dest      pointer to the destination that is to receive the copied data 
src       pointer to the source that is to be copied to the destination 
count     number of bytes to copy

Return Value

The pointer to the destination

Description

It copies the content of src to dest for the number of bytes specified by count. It will be copied correctly even if the areas of the source and the destination overlap.