Tracks the state of a multibyte character conversion.
If an mbstate_t object is altered by any of the functions described as "restartable", and is then used with a different character sequence, or in the other conversion direction, or with a different LC_CTYPE category setting than on earlier function calls, the behaviour is undefined.
- Parameters
-
pMbs | [ in ] Pointer to an object that maintains the current state of the conversion. |
pResult | [ out ] Nonzero if pMbs is NULL, or if not in the middle of a conversion.. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |