HP 3000 Manuals

tgetent [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

tgetent 

The tgetent routine is used to look up the termcap name (interface to
termcap library).

Syntax 

     #include <curses.h>

     int tgetent (char *bp, char *name);

Parameters 

bp                    A pointer to a buffer 1024 bytes long.

name                  The termcap entry to look up.

Return Values 

-1                    Cannot open termcap file.

0                     No entry in termcap.

1                     Successful completion.

Description 

The tgetent() routine looks up the termcap entry for the terminal name.

The tgetent() routine is included for compatibility with programs that
use the termcap library.  New programs should use terminfo functions.


NOTE The parameter bp should designate an area 1024 bytes long that is retained for all calls to tgetnum(), tgetflag(), tgetstr(), and tgoto().
Implementation Considerations UNIX System V implementation See Also setupterm() Portability HP-UX, UNIX System V


MPE/iX 5.0 Documentation