longname(3X) longname(3X)
NAME
longname - get verbose description of current terminal
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
char *longname(void);
DESCRIPTION
The longname() function generates a verbose description of the current
terminal. The maximum length of a verbose description is 128 bytes. It
is defined only after the call to initscr() or newterm().
RETURN VALUE
Upon successful completion, longname() returns a pointer to the
description specified above. Otherwise, it returns a null pointer on
error.
ERRORS
No errors are defined.
NOTES
The return value of longname() may point to a static area which is
overwritten by a subsequent call to newterm().
SEE ALSO
curses(3X), initscr(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98