[w]clear

Erase the contents of the specified window and reset the cursor to coordinates (0,0). The clear function acts on the stdscr window.

Format

#include  <curses.h>

int clear();

int wclear  (WINDOW *win);

Argument

win
A pointer to the window.

Return Values
OK  Indicates success. 
ERR  Indicates an error. 


Previous Page | Next Page | Table of Contents | Index