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

del_curterm

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster