NAME
deleteln, wdeleteln — delete lines in a window
SYNOPSIS
#include <curses.h>
int deleteln(void);
int wdeleteln(WINDOW *win);
DESCRIPTION
The
deleteln()
and
wdeleteln()
functions delete the line containing the cursor in the current or specified
window and move all lines following the current line one line toward the
cursor. The last line of the window is cleared.
The cursor position does not change.
RETURN VALUE
Upon successful completion, these functions return OK.
Otherwise, they return ERR.
ERRORS
No errors are defined.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.
The argument list for the
deleteln()
function is explicitly declared as void.