IMMEDOK(3XCURSES) X/Open Curses Library Functions IMMEDOK(3XCURSES)
immedok - call refresh on changes to window
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);
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.
win
Is a pointer to the window that is to be refreshed.
bf
Is a Boolean expression.
The immedok() function does not return a value.
None.
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
|MT-Level | Unsafe |
+--------------------+-----------------+
addch(3XCURSES), clearok(3XCURSES), clrtobot(3XCURSES),
doupdate(3XCURSES), libcurses(3XCURSES), scrl(3XCURSES),
attributes(7), standards(7)
June 5, 2002 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 | Standard |
+--------------------+-----------------+
|MT-Level | Unsafe |
+--------------------+-----------------+
SEE ALSO
addch(3XCURSES), clearok(3XCURSES), clrtobot(3XCURSES),
doupdate(3XCURSES), libcurses(3XCURSES), scrl(3XCURSES),
attributes(7), standards(7)
June 5, 2002 IMMEDOK(3XCURSES)