Erases 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);