Converts a multibyte character string from the array whose first element is pointed to by src to its wide character representation. Converted characters are stored in the successive elements of the array pointed to by dst. No more than len wide characters are written to the destination array.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

In most implementations, this function updates a global static object of type mbstate_t as it processes through the string, and cannot be called simultaneously by two threads, mbsrtowcs should be used in such cases.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

POSIX specifies a common extension: if dst is a null pointer, this function returns the number of wide characters that would be written to dst, if converted. Similar behavior is standard for mbsrtowcs.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.