Query: endwin
OS: ultrix
Section: 3cur
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
endwin(3cur) endwin(3cur) Name endwin - restore initial terminal environment Syntax int endwin() Description This routine restores tty modes, moves the cursor to the lower left corner of the screen and resets the terminal to the last non-mode. A program should always call before exiting or escaping from mode temporarily. Call or to resume after a temporary escape. Return Values The function returns OK on success and ERR on error. See Also doupdate(3cur), refresh(3cur) endwin(3cur)