DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

termname(CURSES)


termname -- get terminal name

Synopsis

cc [options] file -lcurses
#include <curses.h>

char *termname(void);

Description

The termname(CURSES) function obtains the terminal name as recorded by setupterm(CURSES).

Return value

The termname(CURSES) 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(CURSES), getenv(S), initscr(CURSES), curses(F), terminfo(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005