Subject: misc/2645: tputs() prototype or documentation is wrong
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Seebach <seebs@taniemarie.solon.com>
List: netbsd-bugs
Date: 07/19/1996 19:17:51
>Number:         2645
>Category:       misc
>Synopsis:       int is not void.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 19 20:35:01 1996
>Last-Modified:
>Originator:     Peter Seebach
>Organization:
Usenet Fact Police (Undercover)
>Release:        1.2_BETA
>Environment:
System: NetBSD taniemarie 1.1B NetBSD 1.1B (SEEBS) #0: Wed Apr 10 19:25:37 CDT 1996 seebs@taniemarie:/usr/src/sys/arch/amiga/compile/SEEBS amiga


>Description:
	The tputs man page claims that tputs's third argument is a
	pointer to function returning int taking unknown arguments.
	The source and header claim that it is a pointer to function
	returning void taking an int.

	One of them must be wrong.

	I am told that the int return type is not atypical; certainly,
	it would be consistent with the use of, for instance, putchar().

>How-To-Repeat:
	man tputs
>Fix:
	Dunno.  Fix either the source or the man page.
>Audit-Trail:
>Unformatted: