.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH MBSRTOWCS 3 1999-07-25 "GNU" "Linux Programmer's Manual"
+.TH MBSRTOWCS 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.SH NAME
mbsrtowcs \- convert a multibyte string to a wide-character string
.SH SYNOPSIS
and the number of wide characters written to \fIdest\fP is returned.
.IP 3.
The multibyte string has been completely converted, including the
-terminating \(aq\\0\(aq (which has the side
+terminating null wide character (\(aq\\0\(aq), which has the side
effect of bringing back \fI*ps\fP to the
-initial state).
+initial state.
In this case \fI*src\fP is set to NULL, and the number of wide
characters written to \fIdest\fP,
-excluding the terminating L\(aq\\0\(aq character, is returned.
+excluding the terminating null wide character, is returned.
.PP
If \fIdest\fP is NULL, \fIlen\fP is ignored,
and the conversion proceeds as above,