[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


tgetnum Subroutine

Purpose

Returns the numeric entry for the specified termcap identifier.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>


int tgetnum( ID)
char *ID;

Description

The tgetnum subroutine returns the numeric 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 tgetnum subroutine returns the numeric entry for the specified termcap identifier.

-1 Returned if the ID is not found or not numeric.

Implementation Specifics

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

Related Information

Curses Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

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

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


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]