summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/mbsrtowcs.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/mbsrtowcs.3c')
-rw-r--r--usr/src/man/man3c/mbsrtowcs.3c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/man/man3c/mbsrtowcs.3c b/usr/src/man/man3c/mbsrtowcs.3c
index bf4d3a04d9..05efa21401 100644
--- a/usr/src/man/man3c/mbsrtowcs.3c
+++ b/usr/src/man/man3c/mbsrtowcs.3c
@@ -44,12 +44,11 @@
.\" Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\"
-.TH MBSRTOWCS 3C "Jun 28, 2014"
+.TH MBSRTOWCS 3C "December 28, 2020"
.SH NAME
mbsnrtowcs, mbsnrtowcs_l, mbsrtowcs, mbsrtowcs_l \- convert a character string
to a wide-character string (restartable)
.SH SYNOPSIS
-.LP
.nf
#include <wchar.h>
@@ -75,7 +74,6 @@ to a wide-character string (restartable)
\fBsize_t\fR \fIlen\fR, \fBmbstate_t *restrict\fR \fIps\fR, \fBlocale_t\fR \fIloc\fR);
.fi
.SH DESCRIPTION
-.LP
These function converts a sequence of characters, beginning in
the conversion state described by the object pointed to by \fIps\fR, from the
array indirectly pointed to by \fIsrc\fR into a sequence of corresponding
@@ -124,7 +122,6 @@ current locale. See \fBenviron\fR(5). The functions \fBmbsrtowcs_l()\fR and
\fBmbsnrtowcs()\fR, except that instead of using the current locale, they use
the locale specified by \fIloc\fR.
.SH RETURN VALUES
-.LP
If the input conversion encounters a sequence of bytes that do not form a valid
character, an encoding error occurs. In this case, these
functions store the value of the macro \fBEILSEQ\fR in \fBerrno\fR and return
@@ -132,8 +129,7 @@ functions store the value of the macro \fBEILSEQ\fR in \fBerrno\fR and return
the number of characters successfully converted, not including the terminating
null (if any).
.SH ERRORS
-.LP
-Theses functions may fail if:
+These functions may fail if:
.sp
.ne 2
.na
@@ -153,7 +149,6 @@ state.
Invalid character sequence is detected.
.RE
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.TS
box;
@@ -183,7 +178,6 @@ multithreaded applications, otherwise they use an
internal \fBmbstate_t\fR object and are Unsafe in multithreaded
applications.
.SH SEE ALSO
-.LP
\fBmbrtowc\fR(3C), \fBmbsinit\fR(3C), \fBnewlocale\fR(3C),
\fBsetlocale\fR(3C), \fBuselocale()\fR, \fBattributes\fR(5),
\fBenviron\fR(5), \fBstandards\fR(5)