termname(3curses)
termname --
get terminal name
Synopsis
cc [options] file -lcurses
#include <curses.h>
char *termname(void);
Description
The
termname(3curses)
function obtains the terminal name as recorded by
setupterm(3curses).
Return value
The
termname(3curses)
function returns a pointer to the terminal name.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
del_curterm(3curses),
getenv(3C),
initscr(3curses),
curses(4),
terminfo(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004