Erases the current line from the logical cursor position to the end of the line.
Curses Library (libcurses.a)
#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);
The doupdate (doupdate, refresh, wnoutrefresh, or wrefresh Subroutines) subroutine.
Curses Overview for Programming in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
Manipulating Characters with Curses in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.