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

 NAME

set_term - switch between screens

 SYNOPSIS



#include <curses.h>

SCREEN *set_term(SCREEN *new);

 DESCRIPTION

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

 RETURN VALUE

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

 ERRORS

No errors are defined.

 APPLICATION USAGE

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

 SEE ALSO

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 ]