std::memmove

From Cppreference

Jump to: navigation, search
Defined in header <cstring>

void *memmove( void *dest, const void *src, size_t count );

Copies count bytes from a memory location, pointed to by src to another location, pointed to by dest. The memory regions can overlap.

Contents

[edit] Parameters

dest - pointer to the memory location to copy to
src - pointer to the memory location to copy from
count - number of bytes to copy

[edit] Return value

dest

[edit] Example

[edit] See also

memcpy
copies one buffer to another
(function)