wcpcpy(3) Library Functions Manual wcpcpy(3) wcpcpy - C (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 Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 15 2024 . wcpcpy(3)