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 (doupdate, refresh, wnoutrefresh, or wrefresh Subroutines) subroutine.
Curses Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
Manipulating Characters with Curses in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.