VMS Help
CRTL, wmemmove
*Conan The Librarian
|
Copies a specified number of wide characters from one wide-
character array to another.
Format
#include <wchar.h>
wchar_t wmemmove (wchar_t *dest, const wchar_t *source, size_t n);
The wmemmove function has variants named _wmemmove32 and
_wmemmove64 for use with 32-bit and 64-bit pointer sizes,
respectively.
dest
A pointer to the destination array.
source
A pointer to the source array.
n
The number of wide characters to be moved.
The wmemmove function copies n wide characters from the location
pointed to by source to the location pointed to by dest.
The wmemmove and wmemcpy routines perform the same function,
except that wmemmove ensures that the original contents of the
source array are copied to the destination array even if the two
arrays overlap. Where such overlap is possible, programs that
require portability should use wmemmove, not wmemcopy.
x The value of dest.