OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / wcsnrtombs.3
index b5fd2bd..b4a3a2d 100644 (file)
@@ -12,7 +12,7 @@
 .\"   Dinkumware C library reference http://www.dinkumware.com/
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"
-.TH WCSNRTOMBS 3  2011-10-16 "GNU" "Linux Programmer's Manual"
+.TH WCSNRTOMBS 3  2014-03-18 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcsnrtombs \- convert a wide-character string to a multibyte string
 .SH SYNOPSIS
@@ -55,7 +55,7 @@ is limited to
 .PP
 If
 .I dest
-is not a NULL pointer,
+is not NULL,
 the
 .BR wcsnrtombs ()
 function converts
@@ -87,7 +87,7 @@ The conversion can stop for three reasons:
 .IP 1. 3
 A wide character has been encountered that can not be represented as a
 multibyte sequence (according to the current locale).
-In this case
+In this case,
 .I *src
 is left pointing to the invalid wide character,
 .I (size_t)\ \-1
@@ -101,7 +101,7 @@ is set to
 wide characters have been
 converted without encountering a null wide character (L\(aq\\0\(aq),
 or the length limit forces a stop.
-In this case
+In this case,
 .I *src
 is left pointing
 to the next wide character to be converted, and the number of bytes written
@@ -113,7 +113,7 @@ The wide-character string has been completely converted, including the
 terminating null wide character (which has the side effect of bringing back
 .I *ps
 to the initial state).
-In this case
+In this case,
 .I *src
 is set to NULL, and the number
 of bytes written to
@@ -133,7 +133,7 @@ no destination length limit exists.
 In both of the above cases,
 if
 .I ps
-is a NULL pointer, a static anonymous
+is NULL, a static anonymous
 state known only to the
 .BR wcsnrtombs ()
 function is used instead.
@@ -172,4 +172,13 @@ Passing NULL as
 is not multithread safe.
 .SH SEE ALSO
 .BR iconv (3),
+.BR mbsinit (3),
 .BR wcsrtombs (3)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.