The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

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 , del_curterm(), getenv() (in the XSH specification), initscr(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]