Query: mbsinit
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MBSINIT(3) BSD Library Functions Manual MBSINIT(3)NAMEmbsinit -- determines whether the state object is in the initial stateLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <wchar.h> int mbsinit(const mbstate_t *ps);DESCRIPTIONThe 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 non-zero.RETURN VALUESmbsinit() 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.ERRORSNo errors are defined.STANDARDSThe mbsinit() conforms to ISO/IEC 9899/AMD1:1995 (``ISO C90, Amendment 1'').BSDFebruary 3, 2002 BSD