bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 01/61] Parallelize const boilerplates in man pages.


From: G. Branden Robinson
Subject: [PATCH 01/61] Parallelize const boilerplates in man pages.
Date: Fri, 24 Nov 2023 11:58:12 -0600

* man/curs_ins_wstr.3x:
* man/curs_insstr.3x:
* man/curs_overlay.3x:
* man/curs_scr_dump.3x: Do it.
  - Use parallel language.
  - Set the C language keyword "const" in italics.
  - Protect it from hyphenation.
---
 man/curs_ins_wstr.3x | 4 ++--
 man/curs_insstr.3x   | 4 ++--
 man/curs_overlay.3x  | 4 ++--
 man/curs_scr_dump.3x | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/man/curs_ins_wstr.3x b/man/curs_ins_wstr.3x
index cf056dac..326a8bff 100644
--- a/man/curs_ins_wstr.3x
+++ b/man/curs_ins_wstr.3x
@@ -109,8 +109,8 @@ .SH NOTES
 XSI does not define what will happen if a nonspacing character follows
 a control character.
 .SH PORTABILITY
-These functions are described in the XSI Curses standard, Issue 4, which adds
-const qualifiers to the arguments.
+These functions are described in the XSI Curses standard, Issue 4,
+which adds \fI\%const\fP qualifiers to the arguments.
 .PP
 X/Open states that the entire string is inserted if \fIn\fP is less than 1.
 This is probably an error,
diff --git a/man/curs_insstr.3x b/man/curs_insstr.3x
index 8f03c31a..84b41d7e 100644
--- a/man/curs_insstr.3x
+++ b/man/curs_insstr.3x
@@ -103,8 +103,8 @@ .SH RETURN VALUE
 .SH NOTES
 All but \fBwinsnstr\fP may be macros.
 .SH PORTABILITY
-These functions are described in the XSI Curses standard, Issue 4, which adds
-const qualifiers to the arguments.
+These functions are described in the XSI Curses standard, Issue 4,
+which adds \fI\%const\fP qualifiers to the arguments.
 .PP
 The Single Unix Specification, Version 2 states that
 \fBinsnstr\fP and \fBwinsnstr\fP perform wrapping.
diff --git a/man/curs_overlay.3x b/man/curs_overlay.3x
index 39214789..9b1eee3a 100644
--- a/man/curs_overlay.3x
+++ b/man/curs_overlay.3x
@@ -76,8 +76,8 @@ .SH RETURN VALUE
 .SH NOTES
 Note that \fBoverlay\fP and \fBoverwrite\fP may be macros.
 .SH PORTABILITY
-The XSI Curses standard, Issue 4 describes these functions (adding the const
-qualifiers).
+These functions are described in the XSI Curses standard, Issue 4,
+which adds \fI\%const\fP qualifiers to the arguments.
 It further specifies their behavior in the presence of characters
 with multibyte renditions (not yet supported in this implementation).
 .SH SEE ALSO
diff --git a/man/curs_scr_dump.3x b/man/curs_scr_dump.3x
index 66603f1a..e8480d7d 100644
--- a/man/curs_scr_dump.3x
+++ b/man/curs_scr_dump.3x
@@ -103,8 +103,8 @@ .SH RETURN VALUE
 .SH NOTES
 Note that \fBscr_init\fP, \fBscr_set\fP, and \fBscr_restore\fP may be macros.
 .SH PORTABILITY
-The XSI Curses standard, Issue 4, describes these functions (adding the const
-qualifiers).
+These functions are described in the XSI Curses standard, Issue 4,
+which adds \fI\%const\fP qualifiers to the arguments.
 .PP
 The SVr4 docs merely say under \fBscr_init\fP that the dump data is also
 considered invalid "if the time-stamp of the tty is old" but do not define
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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