clrtobot(3) — Subroutines
Digital
NAME
clrtobot, wclrtobot − clear to end of screen
SYNOPSIS
#include <curses.h>
int clrtobot()
int wclrtobot(win)
WINDOW ∗win;
DESCRIPTION
The clrtobot routine begins at the current cursor position in the default window and changes the remainder of the screen to blanks. The current cursor position is also changed to a blank.
The wclrtobot routine begins at the current cursor position in the specified window and changes the rest of the screen to blanks, including the current cursor position.
The routine clrtobot is a macro.
RETURN VALUES
The clrtobot and wclrtobot functions return OK on success and ERR on error.