Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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
Committed
MT-Level
Unsafe
Standard

See Also

libcurses(3XCURSES), attributes(7), standards(7)