Returns the full name of the terminal.
Format
#include <curses.h>
void longname (char *termbuf, char *name);
Function Variants
This function also has variants named _longname32 and _longname64
for use with 32-bit and 64-bit pointer sizes, respectively. See
Section 1.8 for more information on using
pointer-size-specific functions.
Arguments
- termbuf
- A string containing the name of the terminal.
- name
- A character-string buffer with a minimum length of 64
characters.
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.
Previous Page | Next Page | Table of Contents | Index