bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 162/177] man/curs_touch.3x: Revise "RETURN VALUE" section.


From: G. Branden Robinson
Subject: [PATCH 162/177] man/curs_touch.3x: Revise "RETURN VALUE" section.
Date: Mon, 13 Jan 2025 11:42:55 -0600

Style:
* Favor "ncurses" over "this implementation".
* Lightly recast.

Markup:
* Favor man(7) font style macros over *roff font selection escape
  sequences, except for man page cross references (because
  man/make_sed.sh recognizes only certain patterns when rewriting such
  cross references) and terms in the "NAME" section (because the
  generated edit_man.sh script expects font selection escape sequences
  when scraping terms thence to gather names for man page aliases).
---
 man/curs_touch.3x | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/man/curs_touch.3x b/man/curs_touch.3x
index de2f8b9fd..f35f3febe 100644
--- a/man/curs_touch.3x
+++ b/man/curs_touch.3x
@@ -77,11 +77,14 @@ .SH DESCRIPTION
 addition, \fB\%is_linetouched\fP returns \fBERR\fP if \fIline\fP is not
 valid for the given window.
 .SH RETURN VALUE
-All routines return the integer \fBERR\fP upon failure and an integer value
-other than \fBERR\fP upon successful completion, unless otherwise noted in the
-preceding routine descriptions.
+Functions returning integers return
+.B ERR
+upon failure and
+.B OK
+upon success.
 .PP
-In this implementation
+In
+.IR \%ncurses ","
 .RS 3
 .TP 5
 \fBis_linetouched\fP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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