|
|
MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSEStimeout wtimeout |
|
The timeout and wtimeout routines are used to set a timed blocking or nonblocking read for a window.
The timeout() and wtimeout() routines set the length of time getch() waits for input for windows stdscr and win, respectively. These routines are similar to nodelay except the time to block or wait for input can be specified. A negative delay causes the program to wait indefinitely for input; a delay of 0 returns ERR if no input is ready; and a positive delay blocks until input arrives or the time specified expires (in which case, ERR is returned).
|
|