Module Name:    src
Committed By:   abhinav
Date:           Mon Jun 27 08:18:34 UTC 2016

Modified Files:
        src/lib/libc/locale: wctomb.3

Log Message:
Fix function prototype in the SYNOPSIS
Also, fix function name in the RETURN VALUES section.

>From Henning Petersen in PR lib/51284


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/locale/wctomb.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/locale/wctomb.3
diff -u src/lib/libc/locale/wctomb.3:1.5 src/lib/libc/locale/wctomb.3:1.6
--- src/lib/libc/locale/wctomb.3:1.5	Sat Oct 14 07:51:01 2006
+++ src/lib/libc/locale/wctomb.3	Mon Jun 27 08:18:34 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: wctomb.3,v 1.5 2006/10/14 07:51:01 wiz Exp $
+.\" $NetBSD: wctomb.3,v 1.6 2016/06/27 08:18:34 abhinav Exp $
 .\"
 .\" Copyright (c)2002 Citrus Project,
 .\" All rights reserved.
@@ -35,7 +35,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

Reply via email to