1WCPCPY(3) Linux Programmer's Manual WCPCPY(3)
2
3
4
6 wcpcpy - copy a wide-character string, returning a pointer to its end
7
9 #include <wchar.h>
10
11 wchar_t *wcpcpy(wchar_t *dest, const wchar_t *src);
12
13 Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
14
15 wcpcpy():
16 Since glibc 2.10:
17 _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
18 Before glibc 2.10:
19 _GNU_SOURCE
20
22 The wcpcpy() function is the wide-character equivalent of the stpcpy(3)
23 function. It copies the wide-character string pointed to by src,
24 including the terminating null wide character (L'\0'), to the array
25 pointed to by dest.
26
27 The strings may not overlap.
28
29 The programmer must ensure that there is room for at least
30 wcslen(src)+1 wide characters at dest.
31
33 wcpcpy() returns a pointer to the end of the wide-character string
34 dest, that is, a pointer to the terminating null wide character.
35
37 POSIX.1-2008.
38
40 strcpy(3), wcscpy(3)
41
43 This page is part of release 3.53 of the Linux man-pages project. A
44 description of the project, and information about reporting bugs, can
45 be found at http://www.kernel.org/doc/man-pages/.
46
47
48
49GNU 2011-10-01 WCPCPY(3)