The nodelay routine is used to set blocking or non-blocking read.
Syntax |
|
#include <curses.h>
int nodelay(WINDOW *win, bool bf);
|
Parameters |
|
- bf
A Boolean expression.
- win
A pointer to the window in which to enable non-blocking.
Return Values |
|
- OK
Successful completion.
- ERR
An error occurred.
Implementation Considerations |
|
Identical to XPG/3
See Also |
|
wgetch(), wtimeout()
Portability |
|
HP-UX, UNIX System V, XPG/3