This isn't a patch to ncurses 20250809, but rather to patch 04/27 that I
submitted on 13 August.[1]

Rather than reverting it, I adopted the newly idiomatic language (and
markup) from "man/curs_addch.3x" and other pages.

[1] https://lists.gnu.org/archive/html/bug-ncurses/2025-08/msg00020.html
---
 man/curs_inchstr.3x | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/man/curs_inchstr.3x b/man/curs_inchstr.3x
index 83bc66d6b..ec8b74379 100644
--- a/man/curs_inchstr.3x
+++ b/man/curs_inchstr.3x
@@ -98,14 +98,11 @@ .SH DESCRIPTION
 .BR \%winchstr "."
 \fB\%ncurses\fP(3X) describes the variants of these functions.
 .SH RETURN VALUE
-These functions return the count of characters copied from
-.I win
-to
-.I chstr
-(not counting the null terminator),
-or
+These functions return
+.B OK
+on success and
 .B ERR
-upon failure.
+on failure.
 .PP
 In
 .IR \%ncurses ","
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to