aboutsummaryrefslogtreecommitdiffstats
path: root/man3/wcsnrtombs.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/wcsnrtombs.3')
-rw-r--r--man3/wcsnrtombs.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3
index 3ed5367731..efc77a41f7 100644
--- a/man3/wcsnrtombs.3
+++ b/man3/wcsnrtombs.3
@@ -36,7 +36,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 \fBerrno\fP is set to \fBEILSEQ\fP.
.PP
2. \fInwc\fP wide characters have been converted without encountering a L'\\0',
@@ -62,7 +62,7 @@ at \fIdest\fP.
.SH "RETURN VALUE"
The \fBwcsnrtombs\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 \fBerrno\fP set to \fBEILSEQ\fP.
.SH "CONFORMING TO"
This function is a GNU extension.