- NetBSD Manual Pages
MBSINIT(3) NetBSD Library Functions Manual MBSINIT(3)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
mbsinit -- determines whether the state object is in the initial state
Standard C Library (libc, -lc)
mbsinit(const mbstate_t *ps);
The mbsinit() 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, mbsinit() will always return
0 The current state is not the initial state.
non-zero The current state is the initial state or ps is a null
No errors are defined.
The mbsinit() conforms to ISO/IEC 9899/AMD1:1995 (``ISO C90, Amendment
NetBSD 7.1.2 February 3, 2002 NetBSD 7.1.2