Subject: lib/34188: Incorrect declaration in wcstombs man page
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: netbsd-bugs
Date: 08/11/2006 20:00:00
>Number: 34188
>Category: lib
>Synopsis: Incorrect declaration in wcstombs man page
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 11 20:00:00 +0000 2006
>Originator: cheusov@tut.by
>Release: NetBSD 3.0_STABLE
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
System: NetBSD chen.chizhovka.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #2: Sun Mar 12 12:49:58 GMT 2006 cheusov@chen:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
wcstombs man page contains the following declaration
size_t
wcstombs(const char * restrict s, wchar_t * restrict pwcs, size_t n);
while the correct is
size_t
wcstombs(char * restrict s, const wchar_t * restrict pwcs, size_t n);
>Fix:
Unknown