OSDN Git Service

(split) LDP_man-pages: update original to v3.35.
[linuxjm/LDP_man-pages.git] / original / man3 / wcrtomb.3
index 65ac16f..4a80705 100644 (file)
@@ -11,7 +11,7 @@
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"   ISO/IEC 9899:1999
 .\"
-.TH WCRTOMB 3  1999-07-25 "GNU" "Linux Programmer's Manual"
+.TH WCRTOMB 3  2011-09-28 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcrtomb \- convert a wide character to a multibyte sequence
 .SH SYNOPSIS
@@ -22,8 +22,7 @@ wcrtomb \- convert a wide character to a multibyte sequence
 .fi
 .SH DESCRIPTION
 The main case for this function is when \fIs\fP is
-not NULL and \fIwc\fP is not
-L\(aq\\0\(aq.
+not NULL and \fIwc\fP is not a null wide character (L\(aq\\0\(aq).
 In this case, the
 .BR wcrtomb ()
 function
@@ -36,7 +35,8 @@ returns the length of said multibyte representation,
 that is, the number of bytes
 written at \fIs\fP.
 .PP
-A different case is when \fIs\fP is not NULL but \fIwc\fP is L\(aq\\0\(aq.
+A different case is when \fIs\fP is not NULL,
+ but \fIwc\fP is a null wide character (L\(aq\\0\(aq).
 In this
 case the
 .BR wcrtomb ()
@@ -52,8 +52,13 @@ one, that is, the number of bytes written at \fIs\fP.
 .PP
 A third case is when \fIs\fP is NULL.
 In this case \fIwc\fP is ignored,
-and the function effectively returns wcrtomb(buf,L\(aq\\0\(aq,\fIps\fP) where
-buf is an internal anonymous buffer.
+and the function effectively returns
+
+    wcrtomb(buf, L\(aq\\0\(aq, ps)
+
+where
+.I buf
+is an internal anonymous buffer.
 .PP
 In all of the above cases, if \fIps\fP is a NULL pointer, a static anonymous
 state only known to the