wcsdup(3) Library Functions Manual wcsdup(3) wcsdup - C (libc, -lc) #include wchar_t *wcsdup(const wchar_t *s); glibc (. feature_test_macros(7)): wcsdup(): glibc 2.10: _POSIX_C_SOURCE >= 200809L glibc 2.10: _BSD_SOURCE wcsdup() sstrdup(3). -- , s. malloc(3) free(3). On success, wcsdup() returns a pointer to the new wide-character string. On error, it returns NULL, with errno set to indicate the error. ENOMEM . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |wcsdup() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. libc5, glibc 2.0. strdup(3), wcscpy(3) () Azamat Hackimov Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () . Linux man-pages 6.18 8 2026 . wcsdup(3)