HP 3000 Manuals

endwin, isendwin [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

endwin, isendwin 

The endwin and isendwin routines are used to restore the initial terminal
environment.

Syntax 

     #include <curses.h>

     int endwin();
     int isendwin();

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The endwin() routine restores tty modes, resets the terminal, and moves
the cursor to the lower-left corner of the screen.  This routine should
be called before exiting or escaping CURSES temporarily.  To resume
CURSES after a temporary escape, call the wrefresh() or doupdate()
routines.

If the program interacts with multiple terminals, call endwin() for each
terminal.

The isendwin() routine returns TRUE if endwin() has been called without
subsequent calls to wrefresh() and returns FALSE otherwise.

Implementation Considerations 

The endwin() routine is identical to XPG/3.  The isendwin() routine is a
UNIX System V implementation.

See Also 

doupdate(), wrefresh()

Portability 

The endwin() routine conforms to HP-UX, UNIX System V, and XPG/3.  The
isendwin() routine conforms to UNIX System V.



MPE/iX 5.0 Documentation