aboutsummaryrefslogtreecommitdiffstats
path: root/man3/wcstombs.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-07-06 12:57:38 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-07-06 12:57:38 +0000
commit2bc2f4798feabd972879ff8f1633b08e337f57e1 (patch)
tree7c2c27db04f020b2ec55c5e24bf135161c5d0b84 /man3/wcstombs.3
parent06795d3a1f10b71e1da07ac269240455d40e62b3 (diff)
downloadman-pages-2bc2f4798feabd972879ff8f1633b08e337f57e1.tar.gz
hyphen/dash fixes
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