VMS Help
CRTL, mbsinit

 *Conan The Librarian

    Determines whether an mbstate_t object decribes an initial
    conversion state.

    Format

      #include  <wchar.h>

      int mbsinit  (const mbstate_t *ps);

  1 - Argument

 ps

    A pointer to the mbstate_t object. mbstate_t is an opaque
    datatype intended to keep the conversion state for the state-
    dependent codesets.

  2 - Description

    If ps is not a NULL pointer, the mbsinit function determines
    whether the mbstate_t object pointed to by ps describes an
    initial conversion state. A zero mbstate_t object always
    describes an initial conversion state.

  3 - Return Values

    nonzero            The ps argument is a NULL pointer, or the
                       mbstate_t object pointed to by ps describes an
                       initial conversion state.
    0                  The mbstate_t object pointed to by ps does not
                       describe an initial conversion state.
  Close     Help