2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
11 .TH wcpcpy 3 (date) "Linux man-pages (unreleased)"
13 wcpcpy \- copy a wide-character string, returning a pointer to its end
16 .RI ( libc ", " \-lc )
21 .BI "wchar_t *wcpcpy(wchar_t *restrict " dest \
22 ", const wchar_t *restrict " src );
26 Feature Test Macro Requirements for glibc (see
27 .BR feature_test_macros (7)):
33 _POSIX_C_SOURCE >= 200809L
40 function is the wide-character equivalent of the
43 It copies the wide-character string pointed to by
45 including the terminating null wide character (L\[aq]\e0\[aq]),
46 to the array pointed to by
49 The strings may not overlap.
51 The programmer must ensure that there
58 returns a pointer to the end of the wide-character string
60 that is, a pointer to the terminating null wide character.
62 For an explanation of the terms used in this section, see
68 Interface Attribute Value
73 T} Thread safety MT-Safe