The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 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. Otherwise, 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>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]