Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsset_term(3XCURSES)


NAME

 set_term - switch between terminals

SYNOPSIS

 
#include <curses.h>
SCREEN *set_term(SCREEN *new);

PARAMETERS

 
new
Is the new terminal to which the set_term() function will switch.

DESCRIPTION

 

The set_term() function switches to the terminal specified by new and returns a screen reference to the previous terminal. Calls to subsequent X/Open Curses functions affect the new terminal.

RETURN VALUES

 

On success, the set_term() function returns a pointer to the previous screen. Otherwise, it returns a null pointer.

ERRORS

 

None.


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.