Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > memmove

memmove

Example: memmove Buffer Manipulation Functions

Moves a number of bytes from one buffer to another.

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

dest Destination buffer where the data is copied.
src The name of the source buffer from which the data is copied.
n The number of bytes to copy.

Return Values

Returns dest, the destination buffer to where the data is copied.