Returns the boolean entry for the specified identifier.
Curses Library (libcurses.a)
#include <curses.h>
bool tgetflag( ID)
char *ID;
The tgetflag subroutine returns the boolean entry for the specified termcap identifier. This subroutine is provided for binary compatibility with applications that use the termcap file.
Item | Description |
---|---|
ID | Specifies the 2-character string that contains a termcap identifier. |
The tgetflag subroutine returns the boolean entry for the specified termcap identifier. If ID is not found, on not a boolean, 0 is returned.