insdelln(3curses)
insdelln --
delete or insert lines into a window
Synopsis
cc [options] file -lcurses
#include <curses.h>
int insdelln(int n);
int winsdelln(WINDOW *win, int n);
Description
The
insdelln(3curses)
and
winsdelln(3curses)
functions perform the following actions:
-
If n is positive, these functions insert n lines into the current
or specified window before the current line. The n last lines are
no longer displayed.
-
If n is negative, these functions delete n lines from the current
or specified window starting with the current line, and move the remaining
lines toward the cursor. The last n lines are cleared.
The current cursor position remains the same.
Return value
Upon successful completion, these functions return OK.
Otherwise, they return ERR.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
deleteln(3curses),
insertln(3curses),
curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004