VMS Help
CRTL, longname
*Conan The Librarian
|
Returns the full name of the terminal.
Format
#include <curses.h>
void longname (char *termbuf, char *name);
The longname function has variants named _longname32 and
_longname64 for use with 32-bit and 64-bit pointer sizes,
respectively.
termbuf
A string containing the name of the terminal.
name
A character-string buffer with a minimum length of 64 characters.
The terminal name is in a readable format so that you can
double-check to be sure that Curses has correctly identified
your terminal. The dummy argument termbuf is required for UNIX
software compatibility and serves no function in the OpenVMS
environment. If portability is a concern, you must write a set
of dummy routines to perform the functionality provided by the
database termcap in the UNIX system environment.