The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

clrtobot, wclrtobot - clear from cursor to end of window

 SYNOPSIS



#include <curses.h>

int clrtobot(void);

int wclrtobot(WINDOW *win);

 DESCRIPTION

The clrtobot() and wclrtobot() 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.

 SEE ALSO

doupdate(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]