|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Curses Library Functions Oracle Solaris 11 Express 11/10|
- remove a line
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \ -R /usr/xpg4/lib -lcurses [ library... ] c89 [ flag... ] file... -lcurses [ library... ] #include <curses.h> int deleteln(void);
int wdeleteln(WINDOW *win);
The deleteln() and wdeleteln() functions delete the line containing the cursor from stdscr and win, respectively. All lines below the one deleted are moved up one line. The last line of the window becomes blank. The position of the cursor is unchanged.
Is a pointer to the window from which the line is removed.
On success, these functions return OK. Otherwise, they return ERR.
See attributes(5) for descriptions of the following attributes: