DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

clrtoeol(3curses)


clrtoeol -- clear from cursor to end of line

Synopsis

cc [options] file -lcurses
#include <curses.h>

int clrtoeol(void);

int wclrtoeol(WINDOW *win);

Description

The clrtoeol(3curses) and wclrtoeol(3curses) functions erase the current line from the cursor to the end of the line, inclusive, in the current or specified window. These functions do not update the cursor.

Return value

Upon successful completion, these functions return OK. Otherwise, they return ERR.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

doupdate(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004