#include <string.h> void *memmove(void *dest, const void *source, int num);
This function copies num bytes from source to dest. The copy is done in such a way that if the two regions overlap, the source is always read before that byte is changed by writing to the destination.
dest
ANSI, POSIX
memmove(buf+1, buf, 99); memmove(buf, buf+1, 99);
Go to the first, previous, next, last section, table of contents.