Defined in header <wchar.h> (1) wchar_t* wcsncpy( wchar_t* dest, const wchar_t* src, size_t count ); (since C95) (until C99) wchar_t *wcsncpy(wchar_t *restrict dest, const wchar_t *restrict src, size_t n); (since C99) errno_t wcsncpy_s( wchar_t *restrict dest, rsize_t destsz,
const wchar_t *restrict src, rsize_t n); (2) (since C11)
1) Copies at most count characters of the wide string pointed to by src (including the terminating null wide cha