tgetent
int tgetent(char *, char *);
if ((term = getenv("TERM")) == 0 || tgetent(buf, term) <= 0) {
if(tgetent(tptr, term) < 1)
if (tgetent(tbuf, term) <= 0)
extern NCURSES_EXPORT(int) tgetent (char *, const char *);
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetent) (SCREEN*, char *, const char *);
extern NCURSES_EXPORT(int) tgetent (char *, const char *);
tgetent(char *bufp, const char *name)
return NCURSES_SP_NAME(tgetent) (CURRENT_SCREEN, bufp, name);
NCURSES_SP_NAME(tgetent) (NCURSES_SP_DCLx char *bufp, const char *name)
extern int tgetent(char *, const char *);
i = tgetent(el->el_terminal.t_cap, term);
if ((status = tgetent(NULL, term_name)) != 1) {
if ((status = tgetent(NULL, term_name)) != 1) {
switch (tgetent(termcap, termtype)) {