std::wcscpy (3) - Linux Manuals
std::wcscpy: std::wcscpy
NAME
Synopsis
Defined in header <cwchar>
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.
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
// Run this code
Output:
See also
wcsncpy (function)
wmemcpy (function)
strcpy (function)