bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 023/177] man/curs_attr.3x: Drop erroneous/redundant material.


From: G. Branden Robinson
Subject: [PATCH 023/177] man/curs_attr.3x: Drop erroneous/redundant material.
Date: Mon, 13 Jan 2025 11:17:36 -0600

* Drop claim about non-meaningful return values.  There's no problem
  using a function-like macro in place of a function call.  If the
  function has a return value (`wattr_on` and `wattr_off`) or ultimately
  expands to `OK` or `ERR` (themselves object-like macros), there's no
  particular barrier to using them like function calls--you merely can't
  take their addresses.  (Am I missing something?)
* Drop claim about SVr4 man page, already discussed in "PORTABILITY"
  section.
---
 man/curs_attr.3x | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/man/curs_attr.3x b/man/curs_attr.3x
index cc8ff3f31..e5822f850 100644
--- a/man/curs_attr.3x
+++ b/man/curs_attr.3x
@@ -314,10 +314,6 @@ .SS "Video Attributes"
 WA_VERTICAL    Vertical highlight
 .TE
 .RE
-.PP
-The return values of many of these routines are not meaningful (they are
-implemented as macro-expanded assignments and simply return their argument).
-The SVr4 manual page claims (falsely) that these routines always return 
\fB1\fP.
 .\" ---------------------------------------------------------------------------
 .SH RETURN VALUE
 These functions return
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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