The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


set_term - switch between screens


#include <curses.h>

SCREEN *set_term(SCREEN *new);


The set_term() function switches between different screens. The new argument specifies the new current screen.


Upon successful completion, set_term() returns a pointer to the previous screen. Otherwise, it returns a null pointer.


No errors are defined.


This is the only function that manipulates SCREEN pointers; all other functions affect only the current screen.


Screens, Windows and Terminals , initscr(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]