DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

wcscpy(S)


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(M) wcsncpy(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005