termname(3X)
ENHANCED CURSES
NAME
termname — get terminal name
SYNOPSIS
#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
Minimum Guaranteed Limits in terminfo(4), del_curterm(), getenv() (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification ), initscr(), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Hewlett-Packard Company — HP-UX Release 10.20: July 1996