clrtobot, wclrtobot - clear from cursor to end of window
#include <curses.h> int clrtobot(void); int wclrtobot(WINDOW *win);
The clrtobot() and wclrtobot() functions erase all lines following the cursor in the current or specified window, and erase the current line from the cursor to the end of the line, inclusive. These functions do not update the cursor.
Upon successful completion, these functions return OK. Otherwise, they return ERR.
No errors are defined.
doupdate(), <curses.h>.