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