Erase the contents of the window from the current position of the
cursor to the bottom of the window. The clrtobot function acts on
the stdscr window.
Format
#include <curses.h>
int clrtobot();
int wclrtobot (WINDOW *win);
1 – Argument
win
A pointer to the window.
2 – Return Values
OK Indicates success.
ERR Indicates an error.