Copies n bytes, beginning at location b, to the space beginning at location a. Copying between regions that overlap will take place correctly.
PetscErrorCode PetscMemmove(void *a,void *b,size_t n)
|b ||- pointer to initial memory space
|n ||- length (in bytes) of space to copy
a -pointer to copy space
This routine is analogous to memmove().
Since b can overlap with a, b cannot be declared as const
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages