summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-06-28 07:18:00 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-06-28 07:18:00 +0000
commit56d5f1d22c64b111190f7f95d138de48d50d4d37 (patch)
treef4a2c904517e5fb3f5ee275c1b2cc9beac09dccc /lib
parent851de8e595f6c202773923361993bcfb8c381cb1 (diff)
fix a couple of errors in the page;
from henning petersen, netbsd pr lib/51284 ok semarie
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/wctomb.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/locale/wctomb.3 b/lib/libc/locale/wctomb.3
index 0acd37a0d81..d0313dc6f72 100644
--- a/lib/libc/locale/wctomb.3
+++ b/lib/libc/locale/wctomb.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wctomb.3,v 1.5 2016/02/13 19:24:51 jmc Exp $
+.\" $OpenBSD: wctomb.3,v 1.6 2016/06/28 07:17:59 jmc Exp $
.\" $NetBSD: wctomb.3,v 1.3 2003/04/16 13:34:41 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 13 2016 $
+.Dd $Mdocdate: June 28 2016 $
.Dt WCTOMB 3
.Os
.Sh NAME
@@ -34,7 +34,7 @@
.Sh SYNOPSIS
.In stdlib.h
.Ft int
-.Fn wctomb "char * s" "const wchar_t wchar"
+.Fn wctomb "char * s" "wchar_t wchar"
.Sh DESCRIPTION
The
.Fn wctomb
@@ -112,7 +112,7 @@ If
.Fa s
is equal to
.Dv NULL ,
-.Fn mbtowc
+.Fn wctomb
returns:
.Bl -tag -width 0123456789
.It 0