HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

tgetflag

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster