WCSCPY(3) Library Functions Manual WCSCPY(3)

wcscpycopy a wide-character string

#include <wchar.h>

wchar_t *wcscpy(wchar_t *ws1, const wchar_t *ws2);

The wcscpy() function copies the wide-character string pointed to by ws2 (including the terminating null wide-character code) into the array pointed to by ws1 . If copying takes place between objects that overlap, the behaviour is undefined.

The wcscpy() function returns ws1 ; no return value is reserved to indicate an error.

No errors are defined.

None.

Wide-character code movement is performed differently in different implementations. Thus overlapping moves may yield surprises.

None.

wcsncpy(3) , <wchar.h> .

Derived from the MSE working draft.

February 1997 posix.fail