Subject: lib/4627: ttyaction man page error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsarna@bbs.endicor.com>
List: netbsd-bugs
Date: 12/02/1997 13:46:02
>Number: 4627
>Category: lib
>Synopsis: prototype of ttyaction() wrong in man page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 2 11:50:02 1997
>Last-Modified:
>Originator: Ty Sarna
>Organization:
Endicor Technologies, Inc., San Antonio, Texas
>Release: NetBSD-current (any, really)
>Environment:
System: NetBSD zoo-of-death.endicor.com 1.3_ALPHA NetBSD 1.3_ALPHA (ZOO-OF-DEATH) #5: Sun Nov 16 14:53:54 CST 1997 tsarna@zoo-of-death.endicor.com:/bbs/usr.src/sys/arch/i386/compile/ZOO-OF-DEATH i386
>Description:
"man 3 ttyaction" shows a prototype for ttyaction() with
void return value. Later on, it describes the values
ttyaction() will return under different circumstances.
The correct return value type is int.
>How-To-Repeat:
man 3 ttyaction; more /usr/include/util.h
>Fix:
s/void/int/
>Audit-Trail:
>Unformatted: