The conversion can stop for four reasons:
.IP 1. 3
An invalid multibyte sequence is encountered in the input.
-In this case
+In this case,
it sets \fIerrno\fP to \fBEILSEQ\fP and returns
.IR (size_t)\ \-1 .
\fI*inbuf\fP
.IP 2.
The input byte sequence has been entirely converted,
that is, \fI*inbytesleft\fP has gone down to 0.
-In this case
+In this case,
.BR iconv ()
returns the number of
nonreversible conversions performed during this call.
.IP 3.
An incomplete multibyte sequence is encountered in the input, and the
input byte sequence terminates after it.
-In this case it sets \fIerrno\fP to
+In this case, it sets \fIerrno\fP to
\fBEINVAL\fP and returns
.IR (size_t)\ \-1 .
\fI*inbuf\fP is left pointing to the
beginning of the incomplete multibyte sequence.
.IP 4.
The output buffer has no more room for the next converted character.
-In this case it sets \fIerrno\fP to \fBE2BIG\fP and returns
+In this case, it sets \fIerrno\fP to \fBE2BIG\fP and returns
.IR (size_t)\ \-1 .
.PP
A different case is when \fIinbuf\fP is NULL or \fI*inbuf\fP is NULL, but
.SH SEE ALSO
.BR iconv_close (3),
.BR iconv_open (3)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.