bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 165/177] man/curs_touch.3x: Revise "PORTABILITY" section.


From: G. Branden Robinson
Subject: [PATCH 165/177] man/curs_touch.3x: Revise "PORTABILITY" section.
Date: Mon, 13 Jan 2025 11:43:20 -0600

Drop discussion of function-like macro behavior; it seems to be a
general observation about the C language (or preprocessor).

Recast description of SVr4's lack of a null pointer check, and relocate
it to follow notice of standardized interface.
---
 man/curs_touch.3x | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/man/curs_touch.3x b/man/curs_touch.3x
index fc95c041e..8f7bc491b 100644
--- a/man/curs_touch.3x
+++ b/man/curs_touch.3x
@@ -114,16 +114,12 @@ .SH NOTES
 .B \%wtouchln
 may be implemented as macros.
 .SH PORTABILITY
-The Solaris \fIcurses\fP header file,
-for instance, defines both an actual function and macro for each.
-The macros give the same result as the actual functions.
-SVr4 \fIcurses\fP does not check the window parameter \fIwin\fP to ensure
-that it is not
-.IR NULL ";"
-otherwise this implementation behaves the same as SVr4.
-.PP
 X/Open Curses Issue\ 4 describes these functions.
 It specifies no error conditions for them.
+.PP
+SVr4 does not check
+.I win
+to ensure that it is not a null pointer.
 .SH HISTORY
 These functions were introduced by SVr4.
 .SH SEE ALSO
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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