Convert a wide-character code to a (multibyte) character (restartable)
If pMbs is NULL, then this function uses its own internal mbstate_t object, which is initialised at program startup to the initial conversion state.
- Parameters
-
pDst | [ out ] Pointer to the buffer to write the converted multibyte character. |
pSrc | [ in ] Pointer to the wide character to convert. |
pMbs | [ in ] Pointer to object set up by a call to mbsinit(). |
pResultSize | [ out ] Returns the number of bytes written into pDst. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eFail | Unable to perform the conversion. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |