clrtoeol(3cur)
Name
clrtoeol, wclrtoeol − clear to end of line
Syntax
#include <cursesX.h>
int clrtoeol()
int wclrtoeol(win)
WINDOW ∗win;
Description
The clrtoeol routine erases the current line to the right of the cursor, inclusive, on the default window.
The routine wclrtoeol erases the current line to the right of the cursor, inclusive, on the specified window.
The routine clrtoeol is a macro.
Return Values
The clrtoeol and wclrtoeol functions return OK on success and ERR on error.