Module Name:    src
Committed By:   roy
Date:           Thu Mar 12 11:38:28 UTC 2020

Modified Files:
        src/lib/libcurses: curses_screen.3

Log Message:
curses: note the change in initscr in our fine man page.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libcurses/curses_screen.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/curses_screen.3
diff -u src/lib/libcurses/curses_screen.3:1.25 src/lib/libcurses/curses_screen.3:1.26
--- src/lib/libcurses/curses_screen.3:1.25	Tue Oct  2 17:35:44 2018
+++ src/lib/libcurses/curses_screen.3	Thu Mar 12 11:38:28 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: curses_screen.3,v 1.25 2018/10/02 17:35:44 roy Exp $
+.\"	$NetBSD: curses_screen.3,v 1.26 2020/03/12 11:38:28 roy Exp $
 .\"
 .\" Copyright (c) 2002
 .\"	Brett Lymn ([email protected], [email protected])
@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"
-.Dd October 2, 2018
+.Dd March 12, 2020
 .Dt CURSES_SCREEN 3
 .Os
 .Sh NAME
@@ -267,7 +267,10 @@ of the current screen to
 .Sh RETURN VALUES
 Functions returning pointers will return
 .Dv NULL
-if an error is detected.
+if an error is detected with the exception of
+.Fn initscr
+which will log a diagnostic to standard error output and then call
+.Xr exit 3 .
 The functions that return an int will return one of the following
 values:
 .Pp

Reply via email to