Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
Guardian Native C Library Calls (j - m) mbtowc(3)
• If the character encoding is not shift-state dependent, mbtowc() returns a value of 0
(zero).
The return value is never greater than the value specified by the n parameter or the value of the
MB_CUR_MAX macro.
ERRORS
If the following condition occurs, the mbtowc) function sets errno to the corresponding value.
[EILSEQ] The s parameter points to an invalid multibyte character or a multibyte character
with more the n bytes.
RELATED INFORMATION
Functions: mblen(3), wctomb(3), mbstowcs(3), wcstombs(3).
527192-018 Hewlett-Packard Company 4−95