DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

set_term(CURSES)


set_term -- switch between screens

Synopsis

cc [options] file -lcurses
#include <curses.h>

SCREEN *set_term(SCREEN *new);

Description

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

Return value

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

Errors

No errors are defined.

Usage

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

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

``Definitions'', initscr(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005