HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
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. Otherwise,
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 expli-
citly declared as void.
Section 3−−426 − 1 − HP-UX Release 11i: December 2000
___
___