bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 14/51] man/curs_add{_w, }chstr.3x: Revise ordering of function 4-


From: G. Branden Robinson
Subject: [PATCH 14/51] man/curs_add{_w, }chstr.3x: Revise ordering of function 4-tuples in "NAME" and "SYNOPSIS" sections.
Date: Fri, 26 Jul 2024 12:49:06 -0500

Reorganize list of functions, grouping them by common 4-tuple described
in ncurses (that is, in order of increasing argument count); a given
ncurses function often has four variants, with a prefix that is empty,
"w", "mv", or "mvw".  The w-prefixed function is the elementary one (the
others are macros).
---
 man/curs_add_wchstr.3x |  6 +++---
 man/curs_addchstr.3x   | 22 +++++++++++-----------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/man/curs_add_wchstr.3x b/man/curs_add_wchstr.3x
index 087d23ab7..d6a924fe2 100644
--- a/man/curs_add_wchstr.3x
+++ b/man/curs_add_wchstr.3x
@@ -46,12 +46,12 @@
 ..
 .SH NAME
 \fB\%add_wchstr\fP,
-\fB\%add_wchnstr\fP,
 \fB\%wadd_wchstr\fP,
-\fB\%wadd_wchnstr\fP,
 \fB\%mvadd_wchstr\fP,
-\fB\%mvadd_wchnstr\fP,
 \fB\%mvwadd_wchstr\fP,
+\fB\%add_wchnstr\fP,
+\fB\%wadd_wchnstr\fP,
+\fB\%mvadd_wchnstr\fP,
 \fB\%mvwadd_wchnstr\fP \-
 add a \fIcurses\fR complex character string to a window
 .SH SYNOPSIS
diff --git a/man/curs_addchstr.3x b/man/curs_addchstr.3x
index 2df7138c0..0a99da5a4 100644
--- a/man/curs_addchstr.3x
+++ b/man/curs_addchstr.3x
@@ -46,27 +46,27 @@
 ..
 .SH NAME
 \fB\%addchstr\fP,
-\fB\%addchnstr\fP,
 \fB\%waddchstr\fP,
-\fB\%waddchnstr\fP,
 \fB\%mvaddchstr\fP,
-\fB\%mvaddchnstr\fP,
 \fB\%mvwaddchstr\fP,
+\fB\%addchnstr\fP,
+\fB\%waddchnstr\fP,
+\fB\%mvaddchnstr\fP,
 \fB\%mvwaddchnstr\fP \-
 add a \fIcurses\fR character string to a window
 .SH SYNOPSIS
 .nf
 \fB#include <curses.h>
 .PP
-\fBint addchstr(const chtype *\fIchstr\fP);
-\fBint waddchstr(WINDOW *\fIwin\fP, const chtype *\fIchstr\fP);
-\fBint mvaddchstr(int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP);
-\fBint mvwaddchstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype 
*\fIchstr\fP);
+\fBint addchstr(const chtype * \fIchstr\fP);
+\fBint waddchstr(WINDOW * \fIwin\fP, const chtype * \fIchstr\fP);
+\fBint mvaddchstr(int \fIy\fP, int \fIx\fP, const chtype * \fIchstr\fP);
+\fBint mvwaddchstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype 
* \fIchstr\fP);
 .PP
-\fBint addchnstr(const chtype *\fIchstr\fP, int \fIn\fP);
-\fBint waddchnstr(WINDOW *\fIwin\fP, const chtype *\fIchstr\fP, int \fIn\fP);
-\fBint mvaddchnstr(int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP, int 
\fIn\fP);
-\fBint mvwaddchnstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype 
*\fIchstr\fP, int \fIn\fP);
+\fBint addchnstr(const chtype * \fIchstr\fP, int \fIn\fP);
+\fBint waddchnstr(WINDOW * \fIwin\fP, const chtype * \fIchstr\fP, int \fIn\fP);
+\fBint mvaddchnstr(int \fIy\fP, int \fIx\fP, const chtype * \fIchstr\fP, int 
\fIn\fP);
+\fBint mvwaddchnstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype 
* \fIchstr\fP, int \fIn\fP);
 .fi
 .SH DESCRIPTION
 .B \%waddchstr
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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