HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)

t
termname(3X) 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
del_curterm(3X), initscr(3X), terminfo(4), see section Minimum Guaranteed Limits, getenv(3C) (in the
X/Open System Interfaces and Headers, Issue 4, Version 2 specification), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
568 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007