HP 3000 Manuals

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


MPE/iX Developer's Kit Reference Manual Volume II

tgetflag 

The tgetflag routine is used to get the Boolean entry for termcap
capability (interface to termcap library).

Syntax 

     #include <curses.h>

     int tgetflag (char id[2]);

Parameters 

cap                   The capability for which to get the Boolean entry.

Return Values 

TRUE                  Successful completion.

FALSE                 An error occurred.

Description 

The tgetflag() routine returns the Boolean value of the termcap cap.

The tgetflag() routine is included for compatibility purposes with
programs that use the termcap library.  New programs should use the
terminfo routines.

Implementation Considerations 

UNIX System V implementation

See Also 

tigetflag(), tputs()

Portability 

HP-UX, UNIX System V



MPE/iX 5.0 Documentation