mbsinit - determines whether the state object is initial state
Standard C Library (libc, -lc)
mbsinit(const mbstate_t *ps);
The mbsinit() determines whether the state object pointed by ps is initial
conversion state, or not.
ps may be NULL pointer. In this case, mbsinit() will always return nonzero.
The mbsinit() returns:
0 The current state is not initial state.
non-zero The current state is initial state or ps is NULL pointer.
No errors are defined.
The mbsinit() conforms to .
BSD February 3, 2002 BSD
[ Back ]