Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
mbtowc(3) OSS Library Calls Reference Manual
• 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).
4−186 Hewlett-Packard Company 527187-017