1WCSCPY(P)                  POSIX Programmer's Manual                 WCSCPY(P)
2
3
4

NAME

6       wcscpy - copy a wide-character string
7

SYNOPSIS

9       #include <wchar.h>
10
11       wchar_t *wcscpy(wchar_t *restrict ws1, const wchar_t *restrict ws2);
12
13

DESCRIPTION

15       The  wcscpy()  function shall copy the wide-character string pointed to
16       by ws2 (including the terminating null wide-character  code)  into  the
17       array  pointed  to  by ws1. If copying takes place between objects that
18       overlap, the behavior is undefined.
19

RETURN VALUE

21       The wcscpy() function shall return ws1; no return value is reserved  to
22       indicate an error.
23

ERRORS

25       No errors are defined.
26
27       The following sections are informative.
28

EXAMPLES

30       None.
31

APPLICATION USAGE

33       None.
34

RATIONALE

36       None.
37

FUTURE DIRECTIONS

39       None.
40

SEE ALSO

42       wcsncpy()  ,  the  Base  Definitions  volume  of  IEEE Std 1003.1-2001,
43       <wchar.h>
44
46       Portions of this text are reprinted and reproduced in  electronic  form
47       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
48       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
49       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
50       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
51       event of any discrepancy between this version and the original IEEE and
52       The Open Group Standard, the original IEEE and The Open Group  Standard
53       is  the  referee document. The original Standard can be obtained online
54       at http://www.opengroup.org/unix/online.html .
55
56
57
58IEEE/The Open Group                  2003                            WCSCPY(P)
Impressum