tgetnum [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
tgetnum
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
MPE/iX 5.0 Documentation