HP-UX Reference (11i v2 04/09) - 3 Library Functions A-M (vol 6)

c
clrtoeol(3X) clrtoeol(3X)
(CURSES)
NAME
clrtoeol, wclrtoeol clear from cursor to end of line
SYNOPSIS
#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 specified window.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they return ERR.
ERRORS
No errors are defined.
SEE ALSO
doupdate(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity. The argument list for the
clrtoeol() function is explicitly declared
as void.
Section 3112 Hewlett-Packard Company 1 HP-UX 11i Version 2: September 2004