X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman3%2Fwcsnrtombs.3;h=b4a3a2dc07e61fe5849ae2c00d9280442d21df72;hb=361fd72f831aabd8a0aa6fe7bc4ef66ef4f89a1b;hp=b5fd2bd9bdcfe7dbae4a0536a20e484b47defd7e;hpb=73cdbcd8b7948c6010c7756d89d5c0445ecba990;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man3/wcsnrtombs.3 b/original/man3/wcsnrtombs.3 index b5fd2bd9..b4a3a2dc 100644 --- a/original/man3/wcsnrtombs.3 +++ b/original/man3/wcsnrtombs.3 @@ -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/.