|
|
HP-UX Reference > Nnotimeout(3X)ENHANCED CURSESHP-UX 11i Version 2: December 2007 Update |
|
NAMEnotimeout, timeout, wtimeout — control blocking on input SYNOPSIS#include <curses.h> int notimeout(WINDOW *win, bool bf); void timeout(int delay); void wtimeout(WINDOW *win, int delay); DESCRIPTIONThe notimeout() function specifies whether Timeout Mode or No Timeout Mode is in effect for the screen associated with the specified window. If bf is TRUE, this screen is set to No Timeout Mode. If bf is FALSE, this screen is set to Timeout Mode. The initial state is FALSE. The timeout() and wtimeout() functions set blocking or non-blocking read for the current or specified window based on the value of delay:
RETURN VALUEUpon successful completion, the notimeout() function returns OK. Otherwise, it returns ERR. The timeout() and wtimeout() functions do not return a value. SEE ALSOgetch(3X), halfdelay(3X), nodelay(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. |
|