MirOS Manual: mbsinit(3)

MBSINIT(3)                 BSD Programmer's Manual                  MBSINIT(3)

NAME

     mbsinit - determines whether the state object is in initial state

SYNOPSIS

     #include <wchar.h>

     int
     mbsinit(const mbstate_t *ps);

DESCRIPTION

     mbsinit() determines whether the state object pointed to by ps is in ini-
     tial 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 in initial state.

     non-zero    The current state is in 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").

MirOS BSD #10-current          February 3, 2002                              1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.