MBSINIT(3) BSD Library Functions Manual MBSINIT(3)
NAME
mbsinit, mbsinitl -- determine conversion object status
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
int
mbsinit(const mbstatet *ps);
##include <>
int
mbsinitl(const mbstatet *ps, localet loc);
DESCRIPTION
The mbsinit() function determines whether the mbstatet object pointed to
by ps describes an initial conversion state.
While the mbsinit() function uses the current locale, the mbsinitl()
function may be passed a locale directly. See xlocale(3) for more infor-
mation.
RETURN VALUES
The mbsinit() function returns non-zero if ps is NUL 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
|