Everything

memmove


Copies the specified size of the contents of a source area to a destination storage area. If part of the source storage area and the destination storage area overlap, data is copied to the destination storage area before the overlapped source storage area is overwritten. Therefore, correct copy is enabled.

[Format]

#include <string.h>

void *memmove (void *s1, const void *s2, size_t n);

[Parameters]

s1 Pointer to the destination storage area

s2 Pointer to the source storage area

n Number of characters to be copied

[Return values]

Value of s1