The
clrtoeol(CURSES)
and
wclrtoeol(CURSES)
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.
Return value
Upon successful completion, these functions return OK.
Otherwise, they return ERR.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.