memmove


Object copy

[Classification]

Standard library

[Syntax]

#include <string.h>

void __near * __far memmove(void __near *s1, void __near *s2, size_t n);

void __far * __far _COM_memmove_ff(void __far *s1, void __far *s2, size_t n);

[Return value]

Returns the value of s1.

[Description]

This function copies the n number of characters from a memory area indicated by s2 to a memory area indicated by s1.

Copying can be performed correctly even when the copy source area overlaps with the copy destination area.