.PP
1. A wide character has been encountered that can not be represented as a
multibyte sequence (according to the current locale).
-In this case
+In this case,
.I (size_t)\ \-1
is returned.
.PP
2. The length limit forces a stop.
-In this case the number of bytes written to
+In this case, the number of bytes written to
.I dest
is returned, but the shift state at this point is lost.
.PP
3. The wide-character string has been completely converted, including the
terminating null wide character (L\(aq\\0\(aq).
-In this case the conversion ends in the initial state.
+In this case, the conversion ends in the initial state.
The number of bytes written to
.IR dest ,
excluding the terminating null byte (\(aq\\0\(aq), is returned.
.BR mbstowcs (3),
.BR wcsrtombs (3)
.BR wctom (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.