termname - get terminal name
#include <curses.h> char *termname(void);
The termname() function obtains the terminal name as recorded by setupterm().
The termname() function returns a pointer to the terminal name.
No errors are defined.
Minimum Guaranteed Limits , del_curterm(), getenv() (in the XSH specification), initscr(), <curses.h>.