HAS_IC(3XCURSES) X/Open Curses Library Functions HAS_IC(3XCURSES)
has_ic, has_il - determine insert/delete character/line capability
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
bool has_ic(void);
bool has_il(void);
The has_ic() function determines whether or not the terminal has
insert/delete character capability.
The has_il() function determines whether or not the terminal has
insert/delete line capability.
The has_ic() function returns TRUE if the terminal has insert/delete
character capability and FALSE otherwise.
The has_il() function returns TRUE if the terminal has insert/delete
line capability and FALSE otherwise.
None.
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
|MT-Level | Unsafe |
+--------------------+-----------------+
libcurses(3XCURSES), attributes(7), standards(7)
June 5, 2002 HAS_IC(3XCURSES)
NAME
has_ic, has_il - determine insert/delete character/line capability
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
bool has_ic(void);
bool has_il(void);
DESCRIPTION
The has_ic() function determines whether or not the terminal has
insert/delete character capability.
The has_il() function determines whether or not the terminal has
insert/delete line capability.
RETURN VALUES
The has_ic() function returns TRUE if the terminal has insert/delete
character capability and FALSE otherwise.
The has_il() function returns TRUE if the terminal has insert/delete
line capability and FALSE otherwise.
ERRORS
None.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
|MT-Level | Unsafe |
+--------------------+-----------------+
SEE ALSO
libcurses(3XCURSES), attributes(7), standards(7)
June 5, 2002 HAS_IC(3XCURSES)