1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
11 .TH WCSCPY 3 2021-03-22 "GNU" "Linux Programmer's Manual"
13 wcscpy \- copy a wide-character string
16 .RI ( libc ", " \-lc )
21 .BI "wchar_t *wcscpy(wchar_t *restrict " dest \
22 ", const wchar_t *restrict " src );
27 function is the wide-character equivalent
31 It copies the wide-character string pointed to by
33 including the terminating null wide character (L\(aq\e0\(aq),
34 to the array pointed to by
37 The strings may not overlap.
39 The programmer must ensure that there is
49 For an explanation of the terms used in this section, see
57 Interface Attribute Value
60 T} Thread safety MT-Safe
66 POSIX.1-2001, POSIX.1-2008, C99.