X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_deleteln.3x;h=29b8bb57d58cdcf769fc29a389d22bb886c96338;hb=bd2d9c5734d2c66abe0b2ddd766695b200c154fe;hp=554af5f3d78ed0d49ce8fb7b88640651e3be5d40;hpb=7e062bb2764a87d98073a90ee65a234a2679f9c1;p=ncurses.git diff --git a/man/curs_deleteln.3x b/man/curs_deleteln.3x index 554af5f3..29b8bb57 100644 --- a/man/curs_deleteln.3x +++ b/man/curs_deleteln.3x @@ -27,8 +27,19 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_deleteln.3x,v 1.30 2023/09/30 21:38:11 tom Exp $ -.TH curs_deleteln 3X 2023-09-30 "ncurses 6.4" "Library calls" +.\" $Id: curs_deleteln.3x,v 1.34 2023/12/16 21:33:34 tom Exp $ +.TH curs_deleteln 3X 2023-12-16 "ncurses 6.4" "Library calls" +.ie \n(.g \{\ +.ds `` \(lq +.ds '' \(rq +.\} +.el \{\ +.ie t .ds `` `` +.el .ds `` "" +.ie t .ds '' '' +.el .ds '' "" +.\} +. .SH NAME \fB\%deleteln\fP, \fB\%wdeleteln\fP, @@ -38,19 +49,18 @@ \fB\%winsertln\fP \- delete or insert lines in a \fIcurses\fR window .SH SYNOPSIS -\fB#include \fP -.sp -\fBint deleteln(void);\fP -.br -\fBint wdeleteln(WINDOW *\fIwin\fB);\fR -.sp -\fBint insdelln(int \fIn\fB);\fR -.br -\fBint winsdelln(WINDOW *\fIwin\fB, int \fIn\fB);\fR -.sp -\fBint insertln(void);\fP -.br -\fBint winsertln(WINDOW *\fIwin\fB);\fR +.nf +\fB#include +.PP +\fBint deleteln(void); +\fBint wdeleteln(WINDOW *\fIwin\fP); +.PP +\fBint insdelln(int \fIn\fP); +\fBint winsdelln(WINDOW *\fIwin\fP, int \fIn\fP); +.PP +\fBint insertln(void); +\fBint winsertln(WINDOW *\fIwin\fP); +.fi .SH DESCRIPTION The \fBdeleteln\fP and \fBwdeleteln\fP routines delete the line under the cursor in the window; all lines below the current line are moved up one line. @@ -70,18 +80,14 @@ The current cursor position remains the same. The \fBinsertln\fP and \fBwinsertln\fP routines insert a blank line above the current line and the bottom line is lost. .SH RETURN VALUE -All routines return the integer \fBERR\fP upon failure and an \fBOK\fP (SVr4 -specifies only "an integer value other than \fBERR\fP") upon successful -completion. +These routines return the integer \fBERR\fP upon failure and an \fBOK\fP +(SVr4 specifies only +\*(``an integer value other than \fBERR\fP\*('') +upon successful completion. .PP X/Open defines no error conditions. In this implementation, if the window parameter is null, an error is returned. -.SH PORTABILITY -These functions are described in the XSI Curses standard, Issue 4. -The -standard specifies that they return \fBERR\fP on failure, but specifies no -error conditions. .SH NOTES Note that all but \fBwinsdelln\fP may be macros. .PP @@ -89,5 +95,10 @@ These routines do not require a hardware line delete or insert feature in the terminal. In fact, they will not use hardware line delete/insert unless \fBidlok(..., TRUE)\fP has been set on the current window. +.SH PORTABILITY +These functions are described in the XSI Curses standard, Issue 4. +The +standard specifies that they return \fBERR\fP on failure, but specifies no +error conditions. .SH SEE ALSO \fB\%curses\fP(3X)