The tgetent() function looks up the termcap entry for name. The emulation ignores the buffer pointer bp.
The tgetflag() function gets the Boolean entry for id.
The tgetnum() function gets the numeric entry for id.
The tgetstr() function gets the string entry for id. If area is not a null pointer and does not point to a null pointer, tgetstr() copies the string entry into the buffer pointed to by *area and advances the variable pointed to by area to the first byte after the copy
of the string entry.
The tgoto() function instantiates the parameters col and row into the capability cap and returns a pointer to
the resulting string.
All of the information available in the terminfo database need not be available through these functions.
|