HPlogo HP-UX Reference Volume 4 of 5 > t

termname(3X)

ENHANCED CURSES
» 

Technical documentation

Complete book in PDF

 » 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.

© Hewlett-Packard Development Company, L.P.