Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

immedok(3XCURSES)

Name

immedok - call refresh on changes to window

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>

int immedok(WINDOW *win, bool bf);

Description

If bf is TRUE, immedok() calls refresh(3XCURSES) if any change to the window image is made (for example, through functions such as addch(3XCURSES), clrtobot(3XCURSES), and scrl(3XCURSES)). Repeated calls to refresh() may affect performance negatively. The immedok () function is disabled by default.

Parameters

win

Is a pointer to the window that is to be refreshed.

bf

Is a Boolean expression.

Return Values

The immedok() 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

addch(3XCURSES), clearok(3XCURSES), clrtobot(3XCURSES), doupdate(3XCURSES), libcurses(3XCURSES), scrl(3XCURSES), attributes(7), standards(7)