wcpcpy(3) Library Functions Manual wcpcpy(3) wcpcpy - LIBRARY Standard C library (libc, -lc) #include wchar_t *wcpcpy(wchar_t *restrict dest, const wchar_t *restrict src); glibc (. feature_test_macros(7)): wcpcpy(): glibc 2.10: _POSIX_C_SOURCE >= 200809L glibc 2.10: _BSD_SOURCE The wcpcpy() function is the wide-character equivalent of the stpcpy(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 . wcpcpy() dest, null. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |wcpcpy() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. . strcpy(3), wcscpy(3) Azamat Hackimov Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . wcpcpy(3)