DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

clrtoeol(CURSES)


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(CURSES) and wclrtoeol(CURSES) 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(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005