clrtoeol(3X) clrtoeol(3X)
NAME
clrtoeol, wclrtoeol - clear from cursor to end of line
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int clrtoeol(void);
int wclrtoeol(WINDOW *win);
DESCRIPTION
The clrtoeol() and wclrtoeol() functions erase the current line from
the cursor to the end of the line, inclusive, in the current or speci-
fied 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.
SEE ALSO
curses(3X), doupdate(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98