bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 21/22] man/curs_addwstr.3x: Align style of "RETURN VALUE" section


From: G. Branden Robinson
Subject: [PATCH 21/22] man/curs_addwstr.3x: Align style of "RETURN VALUE" section with curs_addstr.3x.
Date: Sat, 1 Jun 2024 15:24:44 -0500

---
 man/curs_addwstr.3x | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/man/curs_addwstr.3x b/man/curs_addwstr.3x
index b380d5e3f..59e7a459c 100644
--- a/man/curs_addwstr.3x
+++ b/man/curs_addwstr.3x
@@ -111,19 +111,23 @@ .SH RETURN VALUE
 .B ERR
 on failure.
 .PP
-X/Open Curses does not specify any error conditions.
-.I \%ncurses
-returns
+In
+.IR \%ncurses ","
+they return
 .B ERR
+if
 .bP
-if the window pointer is
-.BR NULL ,
+.I win
+is
+.BR NULL ","
 .bP
-if the string pointer is
-.BR NULL ,
+.I wstr
+is
+.BR NULL ","
 or
 .bP
-if an internal \fB\%wadd_wch\fP(3X) call returns an error.
+an internal \fB\%wadd_wch\fP(3X) call returns
+.BR ERR "."
 .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]