Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses curses: note the change in initscr in our fine...
details: https://anonhg.NetBSD.org/src/rev/6434f58a40cb
branches: trunk
changeset: 1008122:6434f58a40cb
user: roy <roy%NetBSD.org@localhost>
date: Thu Mar 12 11:38:28 2020 +0000
description:
curses: note the change in initscr in our fine man page.
diffstat:
lib/libcurses/curses_screen.3 | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 2b552c02ce7b -r 6434f58a40cb lib/libcurses/curses_screen.3
--- a/lib/libcurses/curses_screen.3 Thu Mar 12 11:31:23 2020 +0000
+++ b/lib/libcurses/curses_screen.3 Thu Mar 12 11:38:28 2020 +0000
@@ -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 (blymn%NetBSD.org@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index