Namespaces
Variants
Views
Actions

mbsinit

From cppreference.com
< c‎ | string‎ | multibyte
Revision as of 17:08, 2 November 2012 by P12bot (Talk | contribs)

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

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.

Parameters

ps - pointer to the mbstate_t object to examine

Return value

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

Example

See also

Template:c/string/multibyte/dcl list mbstate t
C++ documentation for mbsinit