Clears the terminal screen and frees any virtual memory allocated to Curses data structures. Format #include <curses.h> void endwin (void);