WMEMCPY(3) NEWLIB WMEMCPY(3)NAME
7.3 `wmemcpy'--copy wide characters in memory
SYNOPSIS
#include <wchar.h>
wchar_t *wmemcpy(wchar_t *D, const wchar_t *S, size_t N);
DESCRIPTION
The `wmemcpy' function copies N wide characters from the object pointed
to by S to the object pointed to be 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 `wmemcpy' function returns the value of D.
PORTABILITY
`wmemcpy' is ISO/IEC 9899/AMD1:1995 (ISO C).
No supporting OS subroutines are required.
SEE ALSOwmemcpy is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 WMEMCPY(3)