DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
PRINT BOOK
set_term(3curses)
set_term -- switch between screens
Synopsis
cc
[
options
]
file
-lcurses
#include <curses.h>
SCREEN *set_term(SCREEN *
new
);
Description
The
set_term
(3curses)
function switches between different screens. The
new
argument specifies the new current screen.
Return value
Upon successful completion,
set_term
(3curses)
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
(3curses)
,
curses
(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004