NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | SEE ALSO
#include <curses.h>int endwin(void);
The endwin() function restores tty modes, resets the terminal, and moves the cursor to the lower left corner of the screen. This function should be called before exiting or escaping X/Open Curses temporarily. To resume X/Open Curses after a temporary escape, call refresh(3XC) or doupdate(3XC).
If the program interacts with multiple terminals, call endwin() for each terminal.
The isendiwin() function determines whether or not a screen has been refreshed.
On success, the endwin() function returns OK. Otherwise, it returns ERR.
The isendwin() function returns TRUE if endwin() has been called without subsequent calls to refresh(). Otherwise, it returns FALSE.
None.
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | SEE ALSO