Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
mbrtowc(3) OSS Library Calls Reference Manual
(size_t)-1 If an encoding error orccurs, in which case the next n or fewer bytes do not con-
tribute to a complete and valid character. In this case, errno is set to [EILSEQ],
and the conversion state is undefined.
ERRORS
If any of these conditions occurs, errno is set to the corresponding value:
[EINVAL] The ps parmeter points to an object that contains an invalid conversion state.
[EILSEQ] An invalid character sequence is detected.
RELATED INFORMATION
Functions: mbsinit(3).
STANDARDS CONFORMANCE
The behavior of this function conforms to the ISO/IEC 9899:1999 standard.
4−180 Hewlett-Packard Company 527187-017