nodelay [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
nodelay
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.
Description
If enabled (bf is TRUE), nodelay() causes getch() to return ERR if no
input is ready. When disabled, getch() blocks until a key is pressed.
NOTE The nodelay() routine is a macro.
Implementation Considerations
Identical to XPG/3
See Also
wgetch(), wtimeout()
Portability
HP-UX, UNIX System V, XPG/3
MPE/iX 5.0 Documentation