5639 want reentrant ether_aton_r and ether_ntoa_r
[illumos-gate.git] / usr / src / man / man3xcurses / insdelln.3xcurses
blobdb8451acaa79f227d66fddb4a6645ec239bdddcf
1 '\" te
2 .\"  Copyright (c) 1990, 1995 by Mortice Kern Systems Inc.  All Rights Reserved  Portions Copyright (c) 1996, Sun Microsystems, Inc.  All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH INSDELLN 3XCURSES "Jun 5, 2002"
7 .SH NAME
8 insdelln, winsdelln \- insert/delete lines to/from the window
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-I\fR /usr/xpg4/include \fB -L \fR /usr/xpg4/lib \e
13 \fB -R \fR /usr/xpg4/lib \fB -lcurses \fR [ \fIlibrary\fR... ]
15 \fBc89\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lcurses\fR [ \fIlibrary\fR... ]
17 #include <curses.h>
19 \fBint\fR \fBinsdelln\fR(\fBint\fR \fIn\fR);
20 .fi
22 .LP
23 .nf
24 \fBint\fR \fBwinsdelln\fR(\fBWINDOW *\fR\fIwin\fR, \fBint\fR \fIn\fR);
25 .fi
27 .SH PARAMETERS
28 .sp
29 .ne 2
30 .na
31 \fB\fIn\fR\fR
32 .ad
33 .RS 7n
34 Is the number of lines to insert or delete (positive \fIn\fR inserts; negative
35 \fIn\fR deletes).
36 .RE
38 .sp
39 .ne 2
40 .na
41 \fB\fIwin\fR\fR
42 .ad
43 .RS 7n
44 Is a pointer to the window in which to insert or delete a line.
45 .RE
47 .SH DESCRIPTION
48 .sp
49 .LP
50 The \fBinsdelln()\fR and \fBwinsdelln()\fR functions insert or delete blank
51 lines  in \fBstdscr\fR or \fIwin\fR, respectively.  When \fIn\fR is positive,
52 \fIn\fR lines are added before the current line  and the bottom \fIn\fR lines
53 are lost; when \fIn\fR is negative, \fIn\fR lines  are deleted starting with
54 the current line, the remaining lines are moved up,  and the bottom \fIn\fR
55 lines are cleared. The position of the cursor does not change.
56 .SH RETURN VALUES
57 .sp
58 .LP
59 On success, these functions return \fBOK\fR. Otherwise, they return \fBERR\fR.
60 .SH ERRORS
61 .sp
62 .LP
63 None.
64 .SH ATTRIBUTES
65 .sp
66 .LP
67 See \fBattributes\fR(5) for descriptions of the following attributes:
68 .sp
70 .sp
71 .TS
72 box;
73 c | c
74 l | l .
75 ATTRIBUTE TYPE  ATTRIBUTE VALUE
77 Interface Stability     Standard
79 MT-Level        Unsafe
80 .TE
82 .SH SEE ALSO
83 .sp
84 .LP
85 \fBdeleteln\fR(3XCURSES), \fBinsertln\fR(3XCURSES), \fBlibcurses\fR(3XCURSES),
86 \fBattributes\fR(5), \fBstandards\fR(5)