bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 140/177] man/curs_slk.3x: Revise "RETURN VALUE" section.


From: G. Branden Robinson
Subject: [PATCH 140/177] man/curs_slk.3x: Revise "RETURN VALUE" section.
Date: Mon, 13 Jan 2025 11:39:19 -0600

* Parallelize language with other recently edited ncurses man pages.
* Favor "ncurses" over "this implementation".
* Drop mention of SVr4's loose specification of return values, to be
  resurrected in a subsequent commit.
---
 man/curs_slk.3x | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/man/curs_slk.3x b/man/curs_slk.3x
index e63dcda04..6750aeced 100644
--- a/man/curs_slk.3x
+++ b/man/curs_slk.3x
@@ -213,15 +213,14 @@ .SS Colors
 \fB\%extended_slk_color\fP,
 which accepts an \fIint\fP value of at least 32 bits.
 .SH RETURN VALUE
-Routines that return an integer return \fBERR\fP upon failure and
-\fBOK\fP
-(SVr4 specifies only
-\*(``an integer value other than \fBERR\fP\*('')
-upon successful completion.
-.PP
-X/Open Curses defines no error conditions.
+Functions that return integers return
+.B ERR
+upon failure and
+.B OK
+upon success.
 .PP
-In this implementation
+In
+.IR \%ncurses ","
 .RS 3
 .TP 5
 \fBslk_attr\fP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]