1WMEMCPY(3) Linux Programmer's Manual WMEMCPY(3)
2
3
4
6 wmemcpy - copy an array of wide-characters
7
9 #include <wchar.h>
10
11 wchar_t *wmemcpy(wchar_t *dest, const wchar_t *src, size_t n);
12
14 The wmemcpy() function is the wide-character equivalent of the memcpy()
15 function. It copies n wide characters from the array starting at src
16 to the array starting at dest.
17
18 The arrays may not overlap; use wmemmove(3) to copy between overlapping
19 arrays.
20
21 The programmer must ensure that there is room for at least n wide char‐
22 acters at dest.
23
25 wmemcpy() returns dest.
26
28 C99.
29
31 memcpy(3), wcscpy(3), wmemmove(3), wmempcpy(3)
32
33
34
35GNU 1999-07-25 WMEMCPY(3)