bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 23/51] man/curs_ins_wstr.3x: Improve organization.


From: G. Branden Robinson
Subject: [PATCH 23/51] man/curs_ins_wstr.3x: Improve organization.
Date: Fri, 26 Jul 2024 12:50:25 -0500

Move discussion to more appropriate sections.

* Document an ncurses failure condition in "RETURN VALUE", not "NOTES".
* Document what X/Open specifies in "PORTABILITY", not "NOTES".
---
 man/curs_ins_wstr.3x | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/man/curs_ins_wstr.3x b/man/curs_ins_wstr.3x
index c7d039a36..b20d7484d 100644
--- a/man/curs_ins_wstr.3x
+++ b/man/curs_ins_wstr.3x
@@ -107,6 +107,10 @@ .SH RETURN VALUE
 .I wstr
 is
 .BR NULL ","
+.bP
+the first wide character in
+.I wstr
+is a non-spacing character,
 or
 .bP
 an internal \fB\%wins_wch\fP(3X) call returns
@@ -121,17 +125,14 @@ .SH NOTES
 All of these functions except
 .B \%wins_nwstr
 may be implemented as macros.
-.PP
-If the first character in the string is a non-spacing character,
-these functions return
-.BR ERR "."
-X/Open Curses does not specify what happens
-if a non-spacing character follows a control character.
 .SH PORTABILITY
 X/Open Curses,
 Issue 4 describes these functions.
 It specifies no error conditions for them.
 .PP
+X/Open Curses does not specify what happens
+if a non-spacing character follows a control character.
+.PP
 Issue 4 states that the entire string is inserted if
 .I n
 is less than 1.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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