WMEMMOVE(3)

NAME
7.4 `wmemmove'--copy wide characters in memory with overlapping areas

SYNOPSIS
     #include <wchar.h>
     wchar_t *wmemmove(wchar_t *D, const wchar_t *S, size_t N);

DESCRIPTION
The `wmemmove' function copies N wide characters from the object pointed to by S to the object pointed to by D. Copying takes place as if the N wide characters from the object pointed to by S are first copied into a temporary array of N wide characters that does not overlap the objects pointed to by D or S, and then the N wide characters from the temporary array are copied into the object pointed to by D.
   This function is not affected by locale and all wchar_t values are treated identically. The null wide character and wchar_t values not corresponding to valid characters are not treated specially.
   If N is zero, D and S must be a valid pointers, and the function copies zero wide characters.

RETURNS
The `wmemmove' function returns the value of D.

PORTABILITY
`wmemmove' is ISO/IEC 9899/AMD1:1995 (ISO C).
   No supporting OS subroutines are required.

SEE ALSO
wmemmove is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.