Enables or disables block during read.
Curses Library (libcurses.a)
#include <curses.h>
int nodelay(WINDOW *win,
bool bf);
The nodelay subroutine specifies whether Delay Mode or No Delay Mode is in effect for the screen associated with the specified window. If bf is TRUE, this screen is set to No Delay Mode. If bf is FALSE, this screen is set to Delay Mode. The initial state is FALSE.
Item | Description |
---|---|
bf | |
*win |
Upon successful completion, the nodelay subroutine returns OK. Otherwise, it returns ERR.
nodelay(my_window, TRUE);
WINDOW *my_window;
nodelay(my_window, FALSE);