static int term_7to8bit(char_u *p);
#ifdef HAVE_TGETENT
-static char *tgetent_error(char_u *, char_u *);
+static char *invoke_tgetent(char_u *, char_u *);
/*
* Here is our own prototype for tgetstr(), any prototypes from the include
* If the external termcap does not have a matching entry, try the
* builtin ones.
*/
- if ((error_msg = tgetent_error(tbuf, term)) == NULL)
+ if ((error_msg = invoke_tgetent(tbuf, term)) == NULL)
{
if (!termcap_cleared)
{
* Return error message if it fails, NULL if it's OK.
*/
static char *
-tgetent_error(char_u *tbuf, char_u *term)
+invoke_tgetent(char_u *tbuf, char_u *term)
{
int i;
{
char_u tbuf[TBUFSZ];
- if (T_NAME != NULL && *T_NAME != NUL && tgetent_error(tbuf, T_NAME) == NULL)
+ if (T_NAME != NULL && *T_NAME != NUL && invoke_tgetent(tbuf, T_NAME) == NULL)
{
if (*cp == 0)
*cp = tgetnum("co");
* Search in external termcap
*/
{
- error_msg = tgetent_error(tbuf, term);
+ error_msg = invoke_tgetent(tbuf, term);
if (error_msg == NULL)
{
string = TGETSTR((char *)name, &tp);