diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-02 12:08:41 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-07 09:13:58 +0200 |
| commit | db59590e7dbed772ec910f24186347097d84ec5f (patch) | |
| tree | 4c6aa2a7a12e884683578075842bf046c7bc78ae | |
| parent | 760b892c1bf190c6e73a391c27edbc6da8b24a35 (diff) | |
| download | man-pages-db59590e7dbed772ec910f24186347097d84ec5f.tar.gz | |
wcstombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man3/wcstombs.3 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/man3/wcstombs.3 b/man3/wcstombs.3 index f33d66cbc9..c7872506eb 100644 --- a/man3/wcstombs.3 +++ b/man3/wcstombs.3 @@ -39,19 +39,20 @@ bytes are written to The conversion starts in the initial state. The conversion can stop for three reasons: -.PP -1. A wide character has been encountered that can not be represented as a +.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, .I (size_t)\ \-1 is returned. -.PP -2. The length limit forces a stop. +.IP 2. +2. +The length limit forces a stop. In this case, the number of bytes written to .I dest is returned, but the shift state at this point is lost. -.PP -3. The wide-character string has been completely converted, including the +.IP 3. +The wide-character string has been completely converted, including the terminating null wide character (L\(aq\\0\(aq). In this case, the conversion ends in the initial state. The number of bytes written to |
