termname.3x (2010 09)

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.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)