Library /sys$common/syshlp/helplib.hlb  —  CRTL  longname
    Returns the full name of the terminal.

    Format

      #include  <curses.h>

      void longname  (char *termbuf, char *name);

1  –  Function Variants

    The longname function has variants named _longname32 and
    _longname64 for use with 32-bit and 64-bit pointer sizes,
    respectively.

2  –  Arguments

 termbuf

    A string containing the name of the terminal.

 name

    A character-string buffer with a minimum length of 64 characters.

3  –  Description

    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.
Close Help