clrtoeol, wclrtoeol - clear from cursor to end of line
#include <curses.h> int clrtoeol(void); int wclrtoeol(WINDOW *win);
The clrtoeol() and wclrtoeol() functions erase the current line from the cursor to the end of the line, inclusive, in the current or specified window. 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>.