Subject: lib/2886: openpty(3) manpage mis-claims that openpty(3) returns void
To: None <gnats-bugs@gnats.netbsd.org>
From: Rafal Boni <rafal@scofflaw.coordinate.com>
List: netbsd-bugs
Date: 10/22/1996 22:43:32
>Number:         2886
>Category:       lib
>Synopsis:       openpty man page should say "openpty(3) returns an int"
>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 Oct 22 19:50:01 1996
>Last-Modified:
>Originator:     Rafal Boni
>Organization:
Wazzat?

>Release:        1.2 (and post-1.2 current as of a days or 2 ago)
>Environment:

System: NetBSD scofflaw.coordinate.com 1.2 NetBSD 1.2 (SCOFFLAW) #0: Fri Oct 11 09:41:14 PDT 1996 root@foobar.coordinate.com:/usr/src/sys/arch/i386/compile/SCOFFLAW i386


>Description:
	openpty(3) prototype in man page is wrong -- the man page claims
	return type is void, in real life return type is int.

>How-To-Repeat:
	read openpty manpage 8-)

>Fix:
	change void to int in src/lib/libutil/openpty.3

>Audit-Trail:
>Unformatted: