[w]erase

Erase the window by painting it with blanks. The erase function acts on the stdscr window.

Format

#include  <curses.h>

int erase();

int werase  (WINDOW *win);

Argument

win
A pointer to the window.

Description

Both the erase and werase functions leave the cursor at the current position on the terminal screen after completion; they do not return the cursor to the home coordinates of (0,0).

Return Values
OK  Indicates success. 
ERR  Indicates an error. 


Previous Page | Next Page | Table of Contents | Index