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