OSDN Git Service

(split) LDP_man-pages: update original to v3.35.
[linuxjm/LDP_man-pages.git] / original / man3 / wcsnrtombs.3
index 39fc29f..5d254ba 100644 (file)
@@ -10,7 +10,7 @@
 .\"   Dinkumware C library reference http://www.dinkumware.com/
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"
-.TH WCSNRTOMBS 3  2010-09-15 "GNU" "Linux Programmer's Manual"
+.TH WCSNRTOMBS 3  2011-10-01 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcsnrtombs \- convert a wide-character string to a multibyte string
 .SH SYNOPSIS
@@ -76,17 +76,17 @@ is returned,
 and \fIerrno\fP is set to \fBEILSEQ\fP.
 .PP
 2. \fInwc\fP wide characters have been
-converted without encountering a L\(aq\\0\(aq,
+converted without encountering a null wide character (L\(aq\\0\(aq),
 or the length limit forces a stop.
 In this case \fI*src\fP is left pointing
 to the next wide character to be converted, and the number of bytes written
 to \fIdest\fP is returned.
 .PP
 3. The wide-character string has been completely converted, including the
-terminating L\(aq\\0\(aq (which has the side effect of bringing back \fI*ps\fP
+terminating null wide character (which has the side effect of bringing back \fI*ps\fP
 to the initial state).
 In this case \fI*src\fP is set to NULL, and the number
-of bytes written to \fIdest\fP, excluding the terminating \(aq\\0\(aq byte, is
+of bytes written to \fIdest\fP, excluding the terminating null, is
 returned.
 .PP
 If \fIdest\fP is NULL, \fIlen\fP is ignored,
@@ -106,13 +106,13 @@ The
 function returns
 the number of bytes that make up the
 converted part of multibyte sequence,
-not including the terminating null byte.
+not including the terminating null.
 If a wide character was encountered which
 could not be converted,
 .I (size_t)\ \-1
 is returned, and \fIerrno\fP set to \fBEILSEQ\fP.
 .SH "CONFORMING TO"
-This function is a GNU extension.
+POSIX.1-2008.
 .SH NOTES
 The behavior of
 .BR wcsnrtombs ()