From: jmc Date: Tue, 28 Jun 2016 07:17:59 +0000 (+0000) Subject: fix a couple of errors in the page; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ce8e82a158b76364cca59a07dd96554c1fcf39be;p=openbsd fix a couple of errors in the page; from henning petersen, netbsd pr lib/51284 ok semarie --- 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