mojave man page for mbsinit

Query: mbsinit

OS: mojave

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MBSINIT(3)						   BSD Library Functions Manual 						MBSINIT(3)

NAME
mbsinit, mbsinit_l -- determine conversion object status
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wchar.h> int mbsinit(const mbstate_t *ps); #include <wchar.h> #include <xlocale.h> int mbsinit_l(const mbstate_t *ps, locale_t loc);
DESCRIPTION
The mbsinit() function determines whether the mbstate_t object pointed to by ps describes an initial conversion state. While the mbsinit() function uses the current locale, the mbsinit_l() function may be passed a locale directly. See xlocale(3) for more information.
RETURN VALUES
The mbsinit() function returns non-zero if ps is NULL or describes an initial conversion state; otherwise, it returns zero.
SEE ALSO
mbrlen(3), mbrtowc(3), mbsrtowcs(3), multibyte(3), wcrtomb(3), wcsrtombs(3), xlocale(3)
STANDARDS
The mbsinit() function conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD
April 8, 2004 BSD
Related Man Pages
mbsinit_l(3) - mojave
mbsinit(3) - redhat
mbsinit(3) - xfree86
mbsinit(3) - x11r4
mbsinit(3) - v7
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
Instructions to Clear Data Cache in Safari, Chrome, Firefox, Opera Browsers (Pictures)
Cannot extract libraries using sed
My first PERL incarnation... Audio Oscillograph
Controlling user input