bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 36/40] man/curs_{get,ins}{,_w}ch.3x: Fix content and style nits.


From: G. Branden Robinson
Subject: [PATCH 36/40] man/curs_{get,ins}{,_w}ch.3x: Fix content and style nits.
Date: Sat, 1 Feb 2025 11:34:47 -0600

Content:
* Favor "a null pointer" over "NULL"; C23 now has `nullptr`.

Style:
* Refer to formal arguments by name, not type.
---
 man/curs_get_wch.3x | 5 +++--
 man/curs_getch.3x   | 5 +++--
 man/curs_ins_wch.3x | 5 +++--
 man/curs_insch.3x   | 5 +++--
 4 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/man/curs_get_wch.3x b/man/curs_get_wch.3x
index 3497039be..ccb90eab4 100644
--- a/man/curs_get_wch.3x
+++ b/man/curs_get_wch.3x
@@ -193,8 +193,9 @@ .SH RETURN VALUE
 .PP
 Functions taking a
 .I \%WINDOW
-pointer argument fail if the pointer is
-.IR NULL "."
+pointer argument fail if
+.I win
+is a null pointer.
 .PP
 Functions prefixed with \*(``mv\*('' first perform cursor movement and
 fail if the position
diff --git a/man/curs_getch.3x b/man/curs_getch.3x
index f10869de5..3662c5cd2 100644
--- a/man/curs_getch.3x
+++ b/man/curs_getch.3x
@@ -477,8 +477,9 @@ .SH RETURN VALUE
 .PP
 Functions taking a
 .I \%WINDOW
-pointer argument fail if the pointer is
-.IR NULL "."
+pointer argument fail if
+.I win
+is a null pointer.
 .PP
 Functions prefixed with \*(``mv\*('' first perform cursor movement and
 fail if the position
diff --git a/man/curs_ins_wch.3x b/man/curs_ins_wch.3x
index 0553ba1a8..c1dfd6c40 100644
--- a/man/curs_ins_wch.3x
+++ b/man/curs_ins_wch.3x
@@ -72,8 +72,9 @@ .SH "RETURN VALUE"
 .PP
 Functions taking a
 .I \%WINDOW
-pointer argument fail if the pointer is
-.IR NULL .
+pointer argument fail if
+.I win
+is a null pointer.
 .PP
 Functions prefixed with \*(``mv\*('' first perform cursor movement and
 fail if the position
diff --git a/man/curs_insch.3x b/man/curs_insch.3x
index f655a1814..e160222c2 100644
--- a/man/curs_insch.3x
+++ b/man/curs_insch.3x
@@ -76,8 +76,9 @@ .SH "RETURN VALUE"
 .PP
 Functions taking a
 .I \%WINDOW
-pointer argument fail if the pointer is
-.IR NULL .
+pointer argument fail if
+.I win
+is a null pointer.
 .PP
 Functions prefixed with \*(``mv\*('' first perform cursor movement and
 fail if the position
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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