Namespaces
Variants
Views
Actions

wcscpy

From cppreference.com
< c‎ | string‎ | wide
Revision as of 21:42, 31 May 2013 by P12bot (Talk | contribs)

Defined in header <wchar.h>
wchar_t *wcscpy( wchar_t *dest, const wchar_t *src );

Copies the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest.

If the strings overlap, the behavior is undefined.

Contents

Parameters

dest - pointer to the wide character array to copy to
src - pointer to the null-terminated wide string to copy from

Return value

dest

Example

See also

copies a certain amount of wide characters from one string to another
(function) [edit]
copies a certain amount of wide characters between two non-overlapping arrays
(function) [edit]