8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / man / man3xcurses / deleteln.3xcurses
blob65703c01ba4de10f09c8ae394aa06dcf8e690f6e
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 DELETELN 3XCURSES "Jun 5, 2002"
7 .SH NAME
8 deleteln, wdeleteln \- remove a line
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 \fBdeleteln\fR(\fBvoid\fR);
20 .fi
22 .LP
23 .nf
24 \fBint\fR \fBwdeleteln\fR(\fBWINDOW *\fR\fIwin\fR);
25 .fi
27 .SH DESCRIPTION
28 .sp
29 .LP
30 The \fBdeleteln()\fR and \fBwdeleteln()\fR functions delete the line
31 containing the cursor from \fBstdscr\fR and \fIwin\fR, respectively.  All lines
32 below the one deleted are moved up one line.  The last line of the window
33 becomes blank.  The position of the cursor is unchanged.
34 .SH PARAMETERS
35 .sp
36 .ne 2
37 .na
38 \fB\fIwin\fR\fR
39 .ad
40 .RS 7n
41 Is a pointer to the window from which the line is removed.
42 .RE
44 .SH RETURN VALUES
45 .sp
46 .LP
47 On success, these functions return \fBOK\fR. Otherwise, they return \fBERR\fR.
48 .SH ERRORS
49 .sp
50 .LP
51 None.
52 .SH ATTRIBUTES
53 .sp
54 .LP
55 See \fBattributes\fR(5) for descriptions of the following attributes:
56 .sp
58 .sp
59 .TS
60 box;
61 c | c
62 l | l .
63 ATTRIBUTE TYPE  ATTRIBUTE VALUE
65 Interface Stability     Standard
67 MT-Level        Unsafe
68 .TE
70 .SH SEE ALSO
71 .sp
72 .LP
73 \fBbkgdset\fR(3XCURSES), \fBinsdelln\fR(3XCURSES), \fBinsertln\fR(3XCURSES),
74 \fBlibcurses\fR(3XCURSES), \fBattributes\fR(5), \fBstandards\fR(5)