aboutsummaryrefslogtreecommitdiffstats
path: root/man3/wcstombs.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/wcstombs.3')
-rw-r--r--man3/wcstombs.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/wcstombs.3 b/man3/wcstombs.3
index 17ce12ea24..b653b92811 100644
--- a/man3/wcstombs.3
+++ b/man3/wcstombs.3
@@ -28,7 +28,7 @@ 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
multibyte sequence (according to the current locale). In this case
-(size_t)(-1) is returned.
+(size_t)(\-1) is returned.
.PP
2. The length limit forces a stop. In this case the number of bytes written to
\fIdest\fP is returned, but the shift state at this point is lost.
@@ -50,7 +50,7 @@ is greater or equal to \fIwcstombs(NULL,src,0)+1\fP.
.SH "RETURN VALUE"
The \fBwcstombs\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.
.SH "CONFORMING TO"
ISO/ANSI C, UNIX98