Next: memset, Previous: memcpy, Up: C library functions [Index]
memmove
Function#include <string.h> #define BUFLENGTH 1024 Integer new length; Integer new result; char buf1[BUFLENGTH], buf2[BUFLENGTH], *charptr; length = BUFLENGTH strcpy (buf1, "Some text."); charptr = (char *)memmove ((void *)buf1, (void *)buf2, length);