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 mem‐
15 cpy(3) function. It copies n wide characters from the array starting
16 at src 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 For an explanation of the terms used in this section, see
29 attributes(7).
30
31 ┌──────────┬───────────────┬─────────┐
32 │Interface │ Attribute │ Value │
33 ├──────────┼───────────────┼─────────┤
34 │wmemcpy() │ Thread safety │ MT-Safe │
35 └──────────┴───────────────┴─────────┘
37 POSIX.1-2001, POSIX.1-2008, C99.
38
40 memcpy(3), wcscpy(3), wmemmove(3), wmempcpy(3)
41
43 This page is part of release 4.16 of the Linux man-pages project. A
44 description of the project, information about reporting bugs, and the
45 latest version of this page, can be found at
46 https://www.kernel.org/doc/man-pages/.
47
48
49
50GNU 2015-08-08 WMEMCPY(3)