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

termname

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The termname routine is used to obtain the return value of the environmental variable TERM.

Syntax

   #include <curses.h>



   char *termname();

Return Values

On success, a pointer to the value of the environmental variable is returned; otherwise, a null pointer is returned.

Description

The termname() routine returns a pointer to the value of the environmental variable TERM (truncated to 14 characters).

Implementation Considerations

UNIX System V implementation

Portability

UNIX System V

Feedback to webmaster