bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 13/23] man/curs_get{,_w}str.3x: Reorganize list of function synop


From: G. Branden Robinson
Subject: [PATCH 13/23] man/curs_get{,_w}str.3x: Reorganize list of function synopses.
Date: Sat, 22 Jun 2024 12:49:10 -0500

...grouping them by the common 4-tuple described in ncurses.3x; a given
ncurses function often has four variants, with a prefix that is empty,
"w", "mv", or "mvw".  The w-prefixed, n-infixed function is the
elementary one (the others are macros).
---
 man/curs_get_wstr.3x | 8 ++++----
 man/curs_getstr.3x   | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/man/curs_get_wstr.3x b/man/curs_get_wstr.3x
index 733054c75..d179b1b65 100644
--- a/man/curs_get_wstr.3x
+++ b/man/curs_get_wstr.3x
@@ -59,13 +59,13 @@ .SH SYNOPSIS
 \fB#include <curses.h>
 .PP
 \fBint get_wstr(wint_t *\fIwstr\fP);
-\fBint getn_wstr(wint_t *\fIwstr\fP, int \fIn\fP);
 \fBint wget_wstr(WINDOW *\fIwin\fP, wint_t *\fIwstr\fP);
-\fBint wgetn_wstr(WINDOW *\fIwin\fP, wint_t *\fIwstr\fP, int \fIn\fP);
-.PP
 \fBint mvget_wstr(int \fIy\fP, int \fIx\fP, wint_t *\fIwstr\fP);
-\fBint mvgetn_wstr(int \fIy\fP, int \fIx\fP, wint_t *\fIwstr\fP, int \fIn\fP);
 \fBint mvwget_wstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, wint_t 
*\fIwstr\fP);
+.PP
+\fBint getn_wstr(wint_t *\fIwstr\fP, int \fIn\fP);
+\fBint wgetn_wstr(WINDOW *\fIwin\fP, wint_t *\fIwstr\fP, int \fIn\fP);
+\fBint mvgetn_wstr(int \fIy\fP, int \fIx\fP, wint_t *\fIwstr\fP, int \fIn\fP);
 \fBint mvwgetn_wstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, wint_t 
*\fIwstr\fP, int \fIn\fP);
 .fi
 .SH DESCRIPTION
diff --git a/man/curs_getstr.3x b/man/curs_getstr.3x
index 2fcb2cb76..a468cfb85 100644
--- a/man/curs_getstr.3x
+++ b/man/curs_getstr.3x
@@ -59,12 +59,12 @@ .SH SYNOPSIS
 \fB#include <curses.h>
 .PP
 \fBint getstr(char *\fIstr\fP);
-\fBint getnstr(char *\fIstr\fP, int \fIn\fP);
 \fBint wgetstr(WINDOW *\fIwin\fP, char *\fIstr\fP);
-\fBint wgetnstr(WINDOW *\fIwin\fP, char *\fIstr\fP, int \fIn\fP);
-.PP
 \fBint mvgetstr(int \fIy\fP, int \fIx\fP, char *\fIstr\fP);
 \fBint mvwgetstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, char *\fIstr\fP);
+.PP
+\fBint getnstr(char *\fIstr\fP, int \fIn\fP);
+\fBint wgetnstr(WINDOW *\fIwin\fP, char *\fIstr\fP, int \fIn\fP);
 \fBint mvgetnstr(int \fIy\fP, int \fIx\fP, char *\fIstr\fP, int \fIn\fP);
 \fBint mvwgetnstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, char 
*\fIstr\fP, int \fIn\fP);
 .fi
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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