.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
+.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
+.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" GNU glibc-2 source code and manual
.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)
+.BR wcstombs (3)