.PP
In order to avoid the case 2 above, the programmer should make sure \fIn\fP is
greater or equal to \fImbstowcs(NULL,src,0)+1\fP.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
The
.BR mbstowcs ()
function returns the number of wide characters that make
encountered,
.I (size_t)\ \-1
is returned.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
C99.
.SH NOTES
The behavior of
.BR mbsrtowcs (3)
provides a better interface to the same
functionality.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR mbsrtowcs (3),
.BR wcstombs (3)