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

c
clrtobot(3X) clrtobot(3X)
(CURSES)
NAME
clrtobot, wclrtobot clear from cursor to end of window
SYNOPSIS
#include <curses.h>
int clrtobot(void);
int wclrtobot(WINDOW *win);
DESCRIPTION
The clrtobot() and wclrtobot() functions erase all lines following the cursor in the current or
specified window, and erase the current line from the cursor to the end of the line, inclusive.
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
clrtobot() function is explicitly declared
as void.
Section 3104 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003