Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (w - z) wcsrtombs(3)
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] A wide-character code does not correspond to a valid character.
RELATED INFORMATION
Functions: mbsinit(3), wcrtomb(3).
STANDARDS CONFORMANCE
The behavior of this function conforms to the ISO/IEC 9899:1999 standard.
527187-017 Hewlett-Packard Company 823