Namespaces
Variants
Views
Actions

memmove

From cppreference.com
< c‎ | string‎ | byte
Revision as of 21:40, 31 May 2013 by P12bot (Talk | contribs)

Defined in header <string.h>
void* memmove( void* dest, const void* src, size_t count );

Copies count characters from the object pointed to by src to the object pointed to by dest. The objects may overlap: copying takes place as if the characters were copied to a temporary character array and then the characters were copied from the array to dest.

Contents

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

Return value

dest

Example

See also

copies one buffer to another
(function) [edit]
C++ documentation for memmove