NAME
nodelay — enable or disable block during read
SYNOPSIS
#include <curses.h>
int nodelay(WINDOW *win, bool bf);
DESCRIPTION
The
nodelay()
function 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.
RETURN VALUE
Upon successful completion,
nodelay()
returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
SEE ALSO
getch(3X),
halfdelay(3X),
curses_intro(3X),
see
Input Processing,
<curses.h>,
X/Open System Interface Definitions, Issue 4, Version 2
specification, Section 9.2,
Parameters That Can Be Set.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.