mirror of https://github.com/mkerrisk/man-pages
wcsrtombs.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d38ff9afe5
commit
0ce769894a
|
@ -55,7 +55,7 @@ The conversion can stop for three reasons:
|
|||
.PP
|
||||
1. 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
|
||||
|
@ -66,7 +66,7 @@ is set to
|
|||
.BR EILSEQ .
|
||||
.PP
|
||||
2. 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,
|
||||
|
@ -79,7 +79,7 @@ terminating null wide character (L\(aq\\0\(aq),
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue