NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/51284: Errors in man page wctomb
>Number: 51284
>Category: lib
>Synopsis: Errors in man page wctomb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 27 08:00:00 +0000 2016
>Originator: Henning Petersen
>Release: Netbsd-current
>Organization:
>Environment:
>Description:
Change const wchar_t wchar to wchar_t wchar,
and mbtowc to wctomb.
>How-To-Repeat:
>Fix:
diff -u -p -r1.5 wctomb.3
--- lib/libc/locale/wctomb.3 14 Oct 2006 07:51:01 -0000 1.5
+++ lib/libc/locale/wctomb.3 15 Apr 2016 08:07:35 -0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index