wcscpy(3) Library Functions Manual wcscpy(3) wcscpy - C (libc, -lc) #include wchar_t *wcscpy(wchar_t *restrict dest, const wchar_t *restrict src); The wcscpy() function is the wide-character equivalent of the strcpy(3) function. It copies the wide-character string pointed to by src, including the terminating null wide character (L'\0'), to the array pointed to by dest. . , dest wcslen(src)+1 . wcscpy() dest. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |wcscpy() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. POSIX.1-2001, C99. strcpy(3), wcpcpy(3), wcscat(3), wcsdup(3), wmemcpy(3) () Azamat Hackimov Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () . Linux man-pages 6.18 8 2026 . wcscpy(3)