[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 2

tgetflag Subroutine

Purpose

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
bool tgetflag(ID)
char *ID;

Description

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.

Parameters

ID Specifies the 2-character string that contains a termcap identifier.

Return Values

The tgetflag subroutine returns the boolean entry for the specified termcap identifier. If ID is not found, on not a boolean, 0 is returned.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

Understanding Terminals with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]