HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

set_term

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The set_term routine is used to switch between terminals.

Syntax

   #include <curses.h>



   SCREEN *set_term (SCREEN *new);

Parameters

new

The new terminal to which to switch.

Return Values

On success, a pointer to the previous terminal is returned; otherwise, a null pointer is returned.

Description

The set_term() routine switches to the terminal specified by new and returns a screen reference to the previous terminal. Calls to subsequent CURSES routines affect the new terminal.

Implementation Considerations

Identical to XPG/3

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster