1WCSCPY(3)                  Linux Programmer's Manual                 WCSCPY(3)
2
3
4

NAME

6       wcscpy - copy a wide-character string
7

SYNOPSIS

9       #include <wchar.h>
10
11       wchar_t *wcscpy(wchar_t *dest, const wchar_t *src);
12

DESCRIPTION

14       The wcscpy() function is the wide-character equivalent of the strcpy(3)
15       function.  It copies the  wide-character  string  pointed  to  by  src,
16       including  the  terminating  null  wide character (L'\0'), to the array
17       pointed to by dest.
18
19       The strings may not overlap.
20
21       The  programmer  must  ensure  that  there  is  room   for   at   least
22       wcslen(src)+1 wide characters at dest.
23

RETURN VALUE

25       wcscpy() returns dest.
26

CONFORMING TO

28       C99.
29

SEE ALSO

31       strcpy(3), wcpcpy(3), wcscat(3), wcsdup(3), wmemcpy(3)
32

COLOPHON

34       This  page  is  part of release 3.53 of the Linux man-pages project.  A
35       description of the project, and information about reporting  bugs,  can
36       be found at http://www.kernel.org/doc/man-pages/.
37
38
39
40GNU                               2011-09-28                         WCSCPY(3)
Impressum