wcscpy(3C)


wcscpy -- copy a wide character string

Synopsis

#include <wchar.h>

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

Description

wcscpy copies the wide string ws2 to the array ws1, stopping after the null wide character has been copied. The behavior is undefined if copying occurs between overlapping objects.

Return value

wcscpy returns ws1.

Usage

Overlapping moves may cause unexpected results because the movement of wide character codes is implementation-dependent.

References

wchar(5) wcsncpy(3C)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.