The set_term routine is used to switch between terminals.
Syntax |
|
#include <curses.h>
SCREEN *set_term (SCREEN *new);
|
Parameters |
|
- new
The new terminal to which to switch.
Return Values |
|
On success, a pointer to the previous terminal is returned;
otherwise, a null pointer is returned.
Description |
|
The set_term() routine switches to the terminal
specified by new and returns a screen reference to
the previous terminal. Calls to subsequent CURSES routines
affect the new terminal.
Implementation Considerations |
|
Identical to XPG/3
Portability |
|
HP-UX, UNIX System V, XPG/3