mbsinit

Determines whether an mbstate_t object decribes an initial conversion state.

Format

#include  <wchar.h>

int mbsinit  (const mbstate_t *ps);

Arguments

ps
A pointer to the mbstate_t object.

Description

If ps is not a NULL pointer, this function determines whether the mbstate_t object pointed to by ps describes an initial conversion state. A zero mbstate_t object always describes an initial conversion state.

Return Values
nonzero  The ps argument is a NULL pointer, or the mbstate_t object pointed to by ps describes an initial conversion state. 
The mbstate_t object pointed to by ps does not describe an initial conversion state. 


Previous Page | Next Page | Table of Contents | Index