CurryInfo: base-3.4.0 / System.IO.hWaitForInputs

definition: Info
 
hWaitForInputs :: [Handle] -> Int -> IO Int
hWaitForInputs handles timeout = (prim_hWaitForInputs $## handles) $## timeout
demand: Info
 arguments 1 2
deterministic: Info
 deterministic operation
documentation: Info
 
Waits until input is available on some of the given handles.
If no input is available within the given milliseconds, it returns `-1`,
otherwise it returns the index of the corresponding handle
with the available data.
@param handles - a list of handles for input streams
@param timeout - milliseconds to wait for input (< 0 : no time out)
@return `-1` if no input is available within the time out, otherwise `i`
        if `(handles!!i)` has data available
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 hWaitForInputs
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [Handle] -> Prelude.Int -> Prelude.IO Prelude.Int
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms