diff options
Diffstat (limited to 'man3/wcsrtombs.3')
| -rw-r--r-- | man3/wcsrtombs.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3 index 51d5d099af..28738b99d1 100644 --- a/man3/wcsrtombs.3 +++ b/man3/wcsrtombs.3 @@ -32,7 +32,7 @@ by one. 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 \fI*src\fP -is left pointing to the invalid wide character, (size_t)(-1) is returned, +is left pointing to the invalid wide character, (size_t)(\-1) is returned, and .I errno is set to \fBEILSEQ\fP. @@ -59,7 +59,7 @@ at \fIdest\fP. .SH "RETURN VALUE" The \fBwcsrtombs\fP function returns the number of bytes that make up the converted part of multibyte sequence, not including the terminating null byte. -If a wide character was encountered which could not be converted, (size_t)(-1) +If a wide character was encountered which could not be converted, (size_t)(\-1) is returned, and .I errno set to \fBEILSEQ\fP. |
