Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/locale Fix function prototype in the SYNOPSIS



details:   https://anonhg.NetBSD.org/src/rev/b86a326465b6
branches:  trunk
changeset: 346121:b86a326465b6
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Mon Jun 27 08:18:34 2016 +0000

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

>From Henning Petersen in PR lib/51284

diffstat:

 lib/libc/locale/wctomb.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2396b161693c -r b86a326465b6 lib/libc/locale/wctomb.3
--- a/lib/libc/locale/wctomb.3  Mon Jun 27 07:37:54 2016 +0000
+++ b/lib/libc/locale/wctomb.3  Mon Jun 27 08:18:34 2016 +0000
@@ -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 @@
 .Fa s
 is equal to
 .Dv NULL ,
-.Fn mbtowc
+.Fn wctomb
 returns:
 .Bl -tag -width 0123456789
 .It 0



Home | Main Index | Thread Index | Old Index