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