Enables or disables block during read.
#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);
This subroutine is part of Base Operating System (BOS) Runtime.
The halfdelay subroutine, wgetch subroutine.
Curses Overview for Programming, List of Curses Subroutines, Manipulating Characters with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs