insdelln, winsdelln [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
insdelln, winsdelln
The insdelln and winsdelln routines are used to insert or delete lines to
or from the window.
Syntax
#include <curses.h>
int insdelln(int n);
int winsdelln(WINDOW *win, int n);
Parameters
win A pointer to the window in which to insert or
delete a line.
n The number of lines to insert or delete (positive n
inserts; negative n deletes).
Return Values
OK Successful completion.
ERR An error occurred.
Description
The insdelln() and winsdelln() routines insert or delete blank lines in
stdscr or win, respectively.
When n is positive, n lines are added above the current line, and the
bottom n lines are cleared; when n is negative, n lines are deleted
starting with the current line, and the remaining lines are moved up.
The bottom n lines are cleared. The position of the cursor does not
change.
Implementation Considerations
UNIX System V implementation
See Also
wdeleteln(), winsertln()
Portability
UNIX System V
MPE/iX 5.0 Documentation