has_ic(3XCURSES) X/Open Curses Library Functions 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(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Standard │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │Unsafe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOlibcurses(3XCURSES), attributes(5), standards(5)SunOS 5.10 5 Jun 2002 has_ic(3XCURSES)