C++ Programming/Code/Standard C Library/Functions/memmove

From Wikibooks, open books for an open world
Jump to: navigation, search

memmove[edit]

Syntax
#include <cstring>
void *memmove( void *to, const void *from, size_t count );

The memmove() function is identical to memcpy(), except that it works even if to and from overlap.

Related topics
memcpy - memset