Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > T

termname(3X)

ENHANCED CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.