Namespaces
Variants
Views
Actions

mbsinit

From cppreference.com
< c‎ | string‎ | multibyte
Revision as of 21:41, 31 May 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <wchar.h>
int mbsinit( const mbstate_t* ps);

If ps is not a null pointer, the mbsinit function determines whether the pointed-to mbstate_t object describes the initial conversion state.

Contents

[edit] Notes

Although a zero-initialized mbstate_t always represents the initial conversion state, there may be other values of mbstate_t that also represent the initial conversion state.

[edit] Parameters

ps - pointer to the mbstate_t object to examine

[edit] Return value

0 if ps is not a null pointer and does not reporesent the initial conversion state, nonzero value otherwise.

[edit] Example

[edit] See also

conversion state information necessary to iterate multibyte character strings
(class) [edit]
C++ documentation for mbsinit