Returns the numeric entry for the specified termcap identifier.
Curses Library (libcurses.a)
#include <curses.h>
int tgetnum( ID)
char *ID;
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.
Item | Description |
---|---|
ID | Specifies the 2-character string that contains a termcap identifier. |
The tgetnum subroutine returns the numeric entry for the specified termcap identifier.
Item | Description |
---|---|
-1 | Returned if the ID is not found or not numeric. |