-.\" $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,
.\" 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
.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
.Fa s
is equal to
.Dv NULL ,
-.Fn mbtowc
+.Fn wctomb
returns:
.Bl -tag -width 0123456789
.It 0