MBSINIT(3)              NetBSD Library Functions Manual             MBSINIT(3)

NAME
     mbsinit -- determines whether the state object is in the initial state

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <wchar.h>

     int
     mbsinit(const mbstate_t *ps);

DESCRIPTION
     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
     non-zero.

RETURN VALUES
     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.

ERRORS
     No errors are defined.

STANDARDS
     The mbsinit() conforms to ISO/IEC 9899/AMD1:1995 (``ISO C90, Amendment
     1'').

NetBSD 5.0.1                   February 3, 2002                   NetBSD 5.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen