COHERENT manpages

This page displays the COHERENT manpage for tgetnum() [Get termcap numeric feature].

List of available manpages
Index


tgetnum() -- termcap Function (libterm)

Get termcap numeric feature
#include <curses.h>
#include <term.h>
int tgetnum(name)
char *name;

tgetnum()  is one  of  a set  of  functions that  read  a termcap  terminal
description.  It returns the value  of the numeric feature name, as defined
in  the terminal's  termcap entry.   It returns  -1 if  the feature  is not
present in the terminal's entry.

Files

/etc/termcap -- Terminal capabilities data base
/usr/lib/libterm.a -- Function library

See Also

termcap