* Parallelize description of failure mode of functions returning
  pointers with other recently edited ncurses man pages.
* Favor "null pointer" over "NULL"; C23 now has `nullptr`.
---
 man/curs_pad.3x    | 4 +---
 man/curs_util.3x   | 4 +---
 man/curs_window.3x | 4 +---
 man/ncurses.3x     | 4 +---
 4 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/man/curs_pad.3x b/man/curs_pad.3x
index 5dac55fe6..7a9a02461 100644
--- a/man/curs_pad.3x
+++ b/man/curs_pad.3x
@@ -175,9 +175,7 @@ .SH RETURN VALUE
 .B OK
 upon successful completion.
 .PP
-Functions that return pointers return
-.I NULL
-on error,
+Functions that return pointers return a null pointer on failure,
 and set
 .I \%errno
 to
diff --git a/man/curs_util.3x b/man/curs_util.3x
index da69a234d..52a06cea0 100644
--- a/man/curs_util.3x
+++ b/man/curs_util.3x
@@ -340,9 +340,7 @@ .SH RETURN VALUE
 .B OK
 upon success.
 .PP
-Functions that return pointers return
-.I NULL
-on error.
+Functions that return pointers return a null pointer on failure.
 .PP
 In
 .IR \%ncurses ","
diff --git a/man/curs_window.3x b/man/curs_window.3x
index 8c9a7fbda..aa4b4b4e6 100644
--- a/man/curs_window.3x
+++ b/man/curs_window.3x
@@ -182,9 +182,7 @@ .SH RETURN VALUE
 .B OK
 upon success.
 .PP
-Functions that return pointers return
-.I NULL
-on error.
+Functions that return pointers return a null pointer on failure.
 .PP
 .I \%ncurses
 defines several error conditions.
diff --git a/man/ncurses.3x b/man/ncurses.3x
index 25a13674c..d35af8807 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1107,9 +1107,7 @@ .SH RETURN VALUE
 .B ERR
 on failure;
 see \fB\%curs_variables\fP(3X).
-Functions that return pointers return
-.I NULL
-on failure.
+Functions that return pointers return a null pointer on failure.
 Typically,
 .I \%ncurses
 treats a null pointer passed as a function parameter as a failure.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to