bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 142/177] man/curs_slk.3x: Revise "PORTABILITY" section.


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

* Standardize language of X/Open Curses's (lack of) any defined error
  conditions for these functions.
* Standardize and annotate SVr4 return value admonition.
---
 man/curs_slk.3x | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/man/curs_slk.3x b/man/curs_slk.3x
index 388f04844..dc43809cd 100644
--- a/man/curs_slk.3x
+++ b/man/curs_slk.3x
@@ -287,8 +287,12 @@ .SH EXTENSIONS
 and used to set the color pair instead of the \fIshort\fP pair
 parameter.
 .SH PORTABILITY
-X/Open Curses Issue\ 4 describes these functions,
-with some differences from SVr4 \fIcurses\fP:
+X/Open Curses Issue\ 4 describes these functions.
+It specifies no error conditions for them.
+.PP
+SVr4 describes a successful return value only as
+\*(``an integer value other than
+.IR ERR \*(''. \" Courier roman in source; SVID 4, vol. 3, p. 533
 .bP
 X/Open added functions like the SVr4 attribute-manipulation functions
 \fB\%slk_attron\fP,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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