Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::mbsinit ( const mbstate_t *  pMbs,
P6INT32 pResult 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.