bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 131/177] man/curs_pad.3x: Relocate material.


From: G. Branden Robinson
Subject: [PATCH 131/177] man/curs_pad.3x: Relocate material.
Date: Mon, 13 Jan 2025 11:37:54 -0600

* Relocate X/Open Curses's return value (lack of) prescriptions from
  "RETURN VALUE" section to "PORTABILITY".
* While there, standardize and annotate it.
* Promote adjacent sentence from font selection escape sequence to
  man(7) macro.
---
 man/curs_pad.3x | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/man/curs_pad.3x b/man/curs_pad.3x
index 97c4f48c5..8cf6b8952 100644
--- a/man/curs_pad.3x
+++ b/man/curs_pad.3x
@@ -173,9 +173,6 @@ .SH RETURN VALUE
 .B ERR
 upon failure and
 .B OK
-(SVr4 specifies only
-\*(``an integer value other than
-.BR ERR \*('')
 upon successful completion.
 .PP
 Functions that return pointers return
@@ -242,9 +239,15 @@ .SH PORTABILITY
 .SH PORTABILITY
 X/Open Curses Issue\ 4 describes these functions.
 It specifies no error conditions for them.
-The behavior of \fB\%subpad\fP if the parent window is not
-a pad is undocumented,
-and is not checked by the vendor Unix implementations:
+.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. 524
+.PP
+The behavior of
+.I \%subpad
+if the parent window is not a pad is undocumented,
+and is not checked by the vendor Unix implementations.
 .bP
 SVr4 \fIcurses\fP sets a flag in the \fI\%WINDOW\fP structure in
 \fB\%newpad\fP which tells if the window is a \fIpad\fP.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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