termname(3X) termname(3X)
NAME
termname - get terminal name
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
char *termname(void);
DESCRIPTION
The termname() function obtains the terminal name as recorded by
setupterm().
RETURN VALUE
The termname() function returns a pointer to the terminal name.
ERRORS
No errors are defined.
SEE ALSO
getenv(3C), curses(3X), delcurterm(3X), initscr(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98