memmove

Copies a memory block.

void * memmove (void * dest, void * source, size_t length);

Required Header
<string.h>

Return Value

This function returns a pointer to the destination memory block.

Parameters

dest

  The destination memory block

source

  The source memory block

length

  The length of the memory blocks

Remarks

The memmove function copies length bytes from source to dest but in a way which is guaranteed to work if the memory blocks overlap.

String

See Also    bcopy, memccpy, memchr, memcmp, memcpy, _memicmp, memset, strcpy, strncpy