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.
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);
The halfdelay (halfdelay Subroutine) subroutine, wgetch (getch, mvgetch, mvwgetch, or wgetch Subroutine) subroutine.
Curses Overview for Programming, List of Curses Subroutines, Manipulating Characters with Curses in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs