wcscpy(3) Library Functions Manual wcscpy(3) wcscpy - LIBRARY Standard C library (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 3 , . . , , . Linux man-pages 6.06 31 2023 . wcscpy(3)