has_ic.3x (2010 09)

h
has_ic(3X) has_ic(3X)
(CURSES)
NAME
has_ic, has_il — query functions for terminal insert and delete capability
SYNOPSIS
#include <curses.h>
bool has_ic(void);
bool has_il(void);
DESCRIPTION
The has_ic() function indicates whether the terminal has insert- and delete-character capabilities.
The
has_il() function indicates whether the terminal has insert- and delete-line capabilities, or can
simulate them using scrolling regions.
RETURN VALUE
The
has_ic() function returns TRUE if the terminal has insert- and delete-character capabilities. Oth-
erwise, it returns FALSE.
The
has_il() function returns TRUE if the terminal has insert- and delete-line capabilities. Other-
wise, it returns FALSE.
ERRORS
No errors are defined.
APPLICATION USAGE
The
has_il() function may be used to determine if it would be appropriate to turn on physical scrolling
using scrollok().
SEE ALSO
<curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The
has_il() function is merged with this entry. In previous issues, it appeared in an entry of its own.
The entry is rewritten for clarity. The argument list for the
has_ic() and has_il() functions is
explicitly declared as void.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)