Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

idcok(3XCURSES)

Name

idcok - enable/disable hardware insert-character and delete-character features

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>

void idcok(WINDOW *win, bool bf);

Description

The idcok() function enables or disables the use of hardware insert-character and delete-character features in win. If bf is set to TRUE , the use of these features in win is enabled (if the terminal is equipped). If bf is set to FALSE, their use in win is disabled.

Parameters

win

Is a pointer to a window.

bf

Is a Boolean expression.

Return Values

The idcok() function does not return a value.

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

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