tgetent() prototype