[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 26/40] man/curs_add{,_w}ch.3x: Clarify return values.
From: |
G. Branden Robinson |
Subject: |
[PATCH 26/40] man/curs_add{,_w}ch.3x: Clarify return values. |
Date: |
Sat, 1 Feb 2025 11:33:07 -0600 |
Also favor "a null pointer" over "NULL"; C23 now has `nullptr`.
---
man/curs_add_wch.3x | 9 +++++++--
man/curs_addch.3x | 9 +++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/man/curs_add_wch.3x b/man/curs_add_wch.3x
index c5c983055..8825f376e 100644
--- a/man/curs_add_wch.3x
+++ b/man/curs_add_wch.3x
@@ -422,13 +422,18 @@ .SH RETURN VALUE
.I curses
screen has not been initialized,
.bP
+(for functions taking a
+.I \%WINDOW
+pointer argument)
.I win
-is
-.IR NULL ","
+is a null pointer,
.bP
wrapping to a new line is impossible because \fB\%scrollok\fP(3X) has
not been called on
.I win
+(or
+.BR stdscr ","
+as applicable)
when writing to its bottom right location is attempted,
or
.bP
diff --git a/man/curs_addch.3x b/man/curs_addch.3x
index c9cdfb790..3522a2db6 100644
--- a/man/curs_addch.3x
+++ b/man/curs_addch.3x
@@ -268,13 +268,18 @@ .SH RETURN VALUE
.I curses
screen has not been initialized,
.bP
+(for functions taking a
+.I \%WINDOW
+pointer argument)
.I win
-is
-.IR NULL ","
+is a null pointer,
.bP
wrapping to a new line is impossible because \fB\%scrollok\fP(3X) has
not been called on
.I win
+(or
+.BR stdscr ","
+as applicable)
when a write to its bottom right location is attempted,
or
.bP
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 26/40] man/curs_add{,_w}ch.3x: Clarify return values.,
G. Branden Robinson <=