has_il Subroutine

Purpose

Determines whether the terminal has insert-line capability.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
has_il( )

Description

The has_il subroutine determines whether a terminal has insert-line capability.

Return Values

The has_il subroutine returns TRUE if terminal has insert-line capability and FALSE, if not.

Examples

To determine the insert capability of a terminal by returning TRUE or FALSE into the user-defined variable insert_line, enter:

int insert_line;
insert_line = has_il();