| www.delorie.com/djgpp/doc/libc-2.01/libc_462.html | search |
#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
memmove(buf+1, buf, 99); memmove(buf, buf+1, 99);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |