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

tgetnum

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The tgetnum routine is used to get the numeric entry for termcap capability (interface to termcap library).

Syntax

   #include <curses.h>



   int tgetnum (char id[2]);

Parameters

cap

The termcap capability for which to get the numeric entry.

Return Values

Returns the value of the numeric termcap entry, or returns -1 if the entry is not given for the terminal.

Description

The tgetnum() routine looks up the numeric entry for cap.

The tgetnum() 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

tigetnum(), tputs()

Portability

HP-UX, UNIX System V

Feedback to webmaster