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

longname

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The longname routine is used to return the full terminal type name.

Syntax

   #include <curses.h>



   char *longname();

Return Values

On success, pointer to verbose description of terminal is returned; otherwise, a null pointer is returned.

Description

The longname() routine returns a pointer to a static area containing a verbose description (128 characters or less) of the terminal. The area is defined after calls to initscr(), newterm(), or setupterm(). The value should be saved if longname() is going to be used with multiple terminals since it is overwritten with a new value after each call to setupterm().

Implementation Considerations

Identical to XPG/3

See Also

initscr(), newterm(), setupterm()

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster