wcsncpy(3) Library Functions Manual wcsncpy(3) wcsncpy - (libc -lc) #include wchar_t *wcsncpy(size_t n; wchar_t dest[restrict n], const wchar_t *restrict src, size_t n); wcsncpy() strncpy(3). n src (L'\0') dest. n dest. wcslen(src) n dest . wcslen(src) n dest . . n dest. wcsncpy() dest. attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |wcsncpy() | | MT-Safe | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. POSIX.1-2001 C99. strncpy(3) 3 . . : . 6.18 8 2026 wcsncpy(3)