Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3c/mbsinit.3c
Real path: /usr/share/man/man3c/mbsinit.3c
Zurück
'\" te .\" Copyright (c) 1992, The X/Open Company Ltd. All rights reserved. .\" Portions Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. .\" Oracle gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in The Oracle Solaris, from IEEE Std 1003.1, 2008 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, Copyright (C) 2001-2008 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. This notice shall appear on any product containing this material. .TH mbsinit 3C "10 Oct 2014" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME mbsinit \- determine conversion object status .SH SYNOPSIS .LP .nf #include <wchar.h> \fBint\fR \fBmbsinit\fR(\fBconst mbstate_t *\fR\fIps\fR); .fi .SH DESCRIPTION .sp .LP If \fBps\fR is not a null pointer, the \fBmbsinit()\fR function determines whether the object pointed to by \fBps\fR describes an initial conversion state. .SH RETURN VALUES .sp .LP The \fBmbsinit()\fR function returns non-zero if \fBps\fR is a null pointer, or if the pointed-to object describes an initial conversion state; otherwise, it returns \fB0\fR. .sp .LP If an \fBmbstate_t\fR object is altered by any of the functions described as "restartable", and is then used with a different character sequence, or in the other conversion direction, or with a different \fBLC_CTYPE\fR category setting than on earlier function calls, the behavior is undefined. See \fBenviron\fR(7). .SH ERRORS .sp .LP No errors are defined. .SH USAGE .sp .LP The \fBmbstate_t\fR object is used to describe the current conversion state from a particular character sequence to a wide-character sequence (or vice versa) under the rules of a particular setting of the \fBLC_CTYPE\fR category of the current locale. .sp .LP The initial conversion state corresponds, for a conversion in either direction, to the beginning of a new character sequence in the initial shift state. A zero-valued \fBmbstate_t\fR object is at least one way to describe an initial conversion state. A zero-valued \fBmbstate_t\fR object can be used to initiate conversion involving any character sequence, in any \fBLC_CTYPE\fR category setting. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Committed _ MT-Level MT-Safe _ Standard See \fBstandards\fR(7). .TE .sp .SH SEE ALSO .sp .LP \fBwcrtomb\fR(3C), \fBmbrlen\fR(3C), \fBmbrtowc\fR(3C), \fBmbsrtowcs\fR(3C), \fBsetlocale\fR(3C), \fBwcsrtombs\fR(3C), \fBattributes\fR(7), \fBenviron\fR(7), \fBstandards\fR(7)