Erase the contents of the window from the current cursor position to the end of the line on the specified window. The clrtoeol function acts on the stdscr window.
#include <curses.h> int clrtoeol(); int wclrtoeol (WINDOW *win);
OK | Indicates success. |
ERR | Indicates an error. |