DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

clrtobot(3curses)


clrtobot -- clear from cursor to end of window

Synopsis

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

int clrtobot(void);

int wclrtobot(WINDOW *win);

Description

The clrtobot(3curses) and wclrtobot(3curses) functions erase all lines following the cursor in the current or specified window, and erase the current line from the cursor to the end of the line, inclusive. 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