definition: |
hWaitForInputs :: [Handle] -> Int -> IO Int hWaitForInputs handles timeout = (prim_hWaitForInputs $## handles) $## timeout |
demand: |
arguments 1 2 |
deterministic: |
deterministic operation |
documentation: |
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: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
hWaitForInputs |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
[Handle] -> Prelude.Int -> Prelude.IO Prelude.Int |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |