[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 146/177] man/curs_termattrs.3x: Revise "RETURN VALUE" section.
From: |
G. Branden Robinson |
Subject: |
[PATCH 146/177] man/curs_termattrs.3x: Revise "RETURN VALUE" section. |
Date: |
Mon, 13 Jan 2025 11:40:15 -0600 |
Content:
* Drop mention of SVr4's loose specification of return values, to be
resurrected in a subsequent commit.
Markup:
* Protect literals from hyphenation.
* 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_termattrs.3x | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/man/curs_termattrs.3x b/man/curs_termattrs.3x
index 58c607cea..7e4430bbc 100644
--- a/man/curs_termattrs.3x
+++ b/man/curs_termattrs.3x
@@ -151,13 +151,18 @@ .SS termname
.B \%termname
returns the terminal name used by \fBsetupterm\fP(3X).
.SH RETURN VALUE
-\fBlongname\fP and \fBtermname\fP return
+.B \%longname
+and
+.B \%termname
+return
.I NULL
on error.
.PP
-Routines that return an integer return \fBERR\fP upon failure and \fBOK\fP
-(SVr4 only specifies "an integer value other than \fBERR\fP") upon successful
-completion.
+Functions that return an integer return
+.B ERR
+upon failure and
+.B OK
+upon success.
.SH NOTES
Note that \fBtermattrs\fP may be a macro.
.SH PORTABILITY
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 146/177] man/curs_termattrs.3x: Revise "RETURN VALUE" section.,
G. Branden Robinson <=