]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/curs_border_set.3x
ncurses 6.4 - patch 20231125
[ncurses.git] / man / curs_border_set.3x
index f833acbae8403bf6cc9579a46ccbe8a96efb2411..16a66ce509d5965bb9d66a9159d79c79564826a5 100644 (file)
@@ -27,8 +27,8 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_border_set.3x,v 1.29 2023/11/11 11:38:35 tom Exp $
-.TH curs_border_set 3X 2023-11-11 "ncurses 6.4" "Library calls"
+.\" $Id: curs_border_set.3x,v 1.31 2023/11/25 15:39:56 tom Exp $
+.TH curs_border_set 3X 2023-11-25 "ncurses 6.4" "Library calls"
 .ie \n(.g \{\
 .ds `` \(lq
 .ds '' \(rq
@@ -57,45 +57,45 @@ draw borders and lines in a \fIcurses\fR window of wide characters
 \fB#include <curses.h>
 .PP
 \fBint border_set(
-   \fBconst cchar_t *\fIls\fR, \fBconst cchar_t *\fIrs\fR,
-   \fBconst cchar_t *\fIts\fR, \fBconst cchar_t *\fIbs\fR,
-   \fBconst cchar_t *\fItl\fR, \fBconst cchar_t *\fItr\fR,
-   \fBconst cchar_t *\fIbl\fR, \fBconst cchar_t *\fIbr\fB);\fR
+   \fBconst cchar_t *\fIls\fB, const cchar_t *\fIrs\fP,
+   \fBconst cchar_t *\fIts\fB, const cchar_t *\fIbs\fP,
+   \fBconst cchar_t *\fItl\fB, const cchar_t *\fItr\fP,
+   \fBconst cchar_t *\fIbl\fB, const cchar_t *\fIbr\fB);\fR
 .br
 \fBint wborder_set(\fP
-   \fBWINDOW *win\fP,
-   \fBconst cchar_t *\fIls\fR, \fBconst cchar_t *\fIrs\fR,
-   \fBconst cchar_t *\fIts\fR, \fBconst cchar_t *\fIbs\fR,
-   \fBconst cchar_t *\fItl\fR, \fBconst cchar_t *\fItr\fR,
-   \fBconst cchar_t *\fIbl\fR, \fBconst cchar_t *\fIbr\fB);\fR
+   \fBWINDOW *\fIwin\fP,
+   \fBconst cchar_t *\fIls\fB, const cchar_t *\fIrs\fP,
+   \fBconst cchar_t *\fIts\fB, const cchar_t *\fIbs\fP,
+   \fBconst cchar_t *\fItl\fB, const cchar_t *\fItr\fP,
+   \fBconst cchar_t *\fIbl\fB, const cchar_t *\fIbr\fB);\fR
 \fBint box_set(\fP
-   \fBWINDOW *win\fP,
-   \fBconst cchar_t *\fIverch\fR,
+   \fBWINDOW *\fIwin\fP,
+   \fBconst cchar_t *\fIverch\fP,
    \fBconst cchar_t *\fIhorch\fB);\fR
 \fBint hline_set(\fP
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint whline_set(\fP
-   \fBWINDOW *\fIwin\fR,
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBWINDOW *\fIwin\fP,
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint mvhline_set(\fP
-   \fBint \fIy\fR, \fBint \fIx\fR,
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBint \fIy\fB, int \fIx\fP,
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint mvwhline_set(\fP
-   \fBWINDOW *\fIwin\fR,
-   \fBint \fIy\fR, \fBint \fIx\fR,
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBWINDOW *\fIwin\fP,
+   \fBint \fIy\fB, int \fIx\fP,
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint vline_set(\fP
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint wvline_set(\fP
-   \fBWINDOW *\fIwin\fR,
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBWINDOW *\fIwin\fP,
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint mvvline_set(\fP
-   \fBint \fIy\fR, \fBint \fIx\fR,
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBint \fIy\fB, int \fIx\fP,
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 \fBint mvwvline_set(\fP
-   \fBWINDOW *\fIwin\fR,
-   \fBint \fIy\fR, \fBint \fIx\fR,
-   \fBconst cchar_t *\fIwch\fR, \fBint \fIn\fB);\fR
+   \fBWINDOW *\fIwin\fP,
+   \fBint \fIy\fB, int \fIx\fP,
+   \fBconst cchar_t *\fIwch\fB, int \fIn\fB);\fR
 .fi
 .SH DESCRIPTION
 The
@@ -171,17 +171,6 @@ The
 \fBmvwvline_set\fP, and
 \fBwvline_set\fP
 functions draw a line proceeding toward the last line of the window.
-.br
-.SH NOTES
-Note that
-\fBborder_set\fP,
-\fBhline_set\fP,
-\fBmvhline_set\fP,
-\fBmvvline_set\fP,
-\fBmvwhline_set\fP,
-\fBmvwvline_set\fP, and
-\fBvline_set\fP
-may be macros.
 .SH RETURN VALUE
 Upon successful completion, these functions return
 \fBOK\fP.
@@ -193,6 +182,18 @@ Functions using a window parameter return an error if it is null.
 Functions with a \*(``mv\*('' prefix first perform a cursor movement using
 \fBwmove\fP, and return an error if the position is outside the window,
 or if the window pointer is null.
+.SH NOTES
+Note that
+\fBborder_set\fP,
+\fBhline_set\fP,
+\fBmvhline_set\fP,
+\fBmvvline_set\fP,
+\fBmvwhline_set\fP,
+\fBmvwvline_set\fP, and
+\fBvline_set\fP
+may be macros.
+.SH PORTABILITY
+These functions are described in the XSI Curses standard, Issue 4.
 .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_add_wch\fP(3X),