Defined in header <wchar.h> size_t mbsrtowcs( wchar_t* dst, const char** src, size_t len, mbstate_t* ps ) (1) (since C95) errno_t mbsrtowcs_s( size_t *restrict retval, wchar_t *restrict dst, rsize_t dstsz,
const char **restrict src, rsize_t len, mbstate_t *restrict ps); (2) (since C11)
1) Converts a null-terminated multibyte character sequence, which begins in the conversion state described by *ps, from the array whose first element is pointed to