memcpy


Object copy

[Classification]

Standard library

[Syntax]

#include <string.h>

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

void __far * __far _COM_memcpy_ff(void __far *s1, const void __far *s2, size_t n);

[Return value]

Returns the value of s1.

[Description]

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

The operation is undefined if the copy source and copy destination areas overlap.