HP 3000 Manuals

del_curterm [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

del_curterm 

The del_curterm routine is used to free space pointed to by TERMINAL
(interface to TERMINFO).

Syntax 

     #include <curses.h>

     int del_curterm(TERMINAL *oterm);

Parameters 

oterm                 The terminal type for which to free space.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The del_curterm() routine is a low-level routine only used outside of
CURSES when the program has to deal directly with the TERMINFO database
to handle certain terminal capabilities.  The use of appropriate CURSES
routines is recommended in all other situations.

The del_curterm() routine frees the space pointed to by oterm.  If oterm 
and the cur_term variable are the same, the TERMINFO Boolean, numeric, or
string variables refer to invalid memory locations until you call
setupterm() and specify a new terminal type.

Implementation Considerations 

UNIX System V implementation

See Also 

set_curterm()

Portability 

UNIX System V



MPE/iX 5.0 Documentation