bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 040/100] man/ncurses.3x: Fix style and markup nits in "RETURN VAL


From: G. Branden Robinson
Subject: [PATCH 040/100] man/ncurses.3x: Fix style and markup nits in "RETURN VALUE" section.
Date: Sat, 30 Mar 2024 16:53:55 -0500

Style:
* Make reference to wmove(3X) a proper man page cross reference.
* Coalesce single-sentence paragraph into its predecessor.

Markup:
* Favor man(7) font style macros over *roff font selection escape
  sequences, except for man page cross references.
---
 man/ncurses.3x | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index 73bba972d..d0bccec30 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1019,15 +1019,19 @@ .SS "Function Name Index"
 below.
 .SH RETURN VALUE
 Unless otherwise noted,
-functions that return an integer return \fBOK\fP on success and
-\fBERR\fP on failure.
-Functions that return pointers return \fBNULL\fP on failure.
+functions that return an integer return
+.B OK
+on success and
+.B ERR
+on failure.
+Functions that return pointers return
+.B NULL
+on failure.
 Typically,
 .I \%ncurses
 treats a null pointer passed as a function parameter as a failure.
-.PP
 Functions with a \*(``mv\*('' prefix first perform cursor movement using
-\fB\%wmove\fP and fail if the position is outside the window,
+\fB\%wmove\fP(3X) and fail if the position is outside the window,
 or
 (for \*(``mvw\*('' functions)
 if the
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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