Subject: misc/19809: Man page for initscr(3) has wrong return value.
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/12/2003 03:47:46
>Number:         19809
>Category:       misc
>Synopsis:       Man page for initscr(3) has wrong return value.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 12 03:48:00 PST 2003
>Originator:     Joel Wilsson
>Release:        NetBSD-current 1.6L
NetBSD sii.home 1.6L NetBSD 1.6L (NANASE) #0: Wed Jan  8 19:37:39 CET 2003     joelw@sii.home:/home/joelw/build/netbsd/sys/arch/i386/compile/NANASE i386
The man page for initscr(3) says the return value of initscr is an int,
but it actually returns a pointer to a WINDOW.
Index: curses_screen.3
RCS file: /home/joelw/localrep/netbsd/lib/libcurses/curses_screen.3,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- curses_screen.3     7 Jan 2003 16:28:02 -0000       1.1
+++ curses_screen.3     12 Jan 2003 11:31:39 -0000      1.2
@@ -56,7 +56,7 @@
 .Fn delscreen "SCREEN *screen"
 .Ft int
 .Fn endwin "void"
-.Ft int
 .Fn initscr "void"
 .Ft bool
 .Fn isendwin "void"