summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-06-28 07:17:59 +0000
committerjmc <jmc@openbsd.org>2016-06-28 07:17:59 +0000
commitce8e82a158b76364cca59a07dd96554c1fcf39be (patch)
treec36b98df51174af1d58a84a720b52bde7948ece4
parentBack out previous; otto saw a potential race that could lead to a (diff)
downloadwireguard-openbsd-ce8e82a158b76364cca59a07dd96554c1fcf39be.tar.xz
wireguard-openbsd-ce8e82a158b76364cca59a07dd96554c1fcf39be.zip
fix a couple of errors in the page;
from henning petersen, netbsd pr lib/51284 ok semarie
-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