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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004