man.bsd.lv manual page server

Manual Page Search Parameters

MBSINIT(3) Library Functions Manual MBSINIT(3)

mbsinitdetermines whether the state object is in the initial state

library “libc”

#include <wchar.h>

int
mbsinit(const mbstate_t *ps);

The () determines whether the state object pointed to by ps is the initial conversion state, or not.

ps may be a null pointer. In this case, () will always return non-zero.

mbsinit() returns:

0
The current state is not the initial state.
non-zero
The current state is the initial state or ps is a null pointer.

No errors are defined.

The mbsinit() conforms to ISO/IEC 9899/AMD1:1995 (“ISO C90, Amendment 1”).

February 3, 2002 NetBSD-9.2