Erases the current line from the logical cursor position to the end of the window.
#include <curses.h>
int clrtobot(void);
int wclrtobot(WINDOW *win);
The clrtobot and wclrtobot subroutines 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. These subroutines do not update the cursor.
*win | Specifies the window in which to erase lines. |
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
clrtobot();
WINDOW *my_window; wclrtobot(my_window);
These subroutines are part of Base Operating System (BOS) Runtime.
The doupdate subroutine.
Curses Overview for Programming in AIX General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX General Programming Concepts: Writing and Debugging Programs.
Manipulating Characters with Curses in AIX General Programming Concepts: Writing and Debugging Programs.