Instant is
off
|
Search plugin
|
Manual
|
haskell.org
throwErrnoIfMinus1Retry
Packages
base
throwErrnoIfMinus1Retry
:: Num a => String -> IO a -> IO a
base
Foreign.C.Error
Throw an
IOError
corresponding to the current value of
getErrno
if the
IO
action returns a result of -1, but retries in case of an interrupted operation.
throwErrnoIfMinus1Retry
_
:: Num a => String -> IO a -> IO ()
base
Foreign.C.Error
as
throwErrnoIfMinus1
, but discards the result.
throwErrnoIfMinus1Retry
MayBlock
:: Num a => String -> IO a -> IO b -> IO a
base
Foreign.C.Error
as
throwErrnoIfMinus1Retry
, but checks for operations that would block.
throwErrnoIfMinus1Retry
MayBlock_
:: Num a => String -> IO a -> IO b -> IO ()
base
Foreign.C.Error
as
throwErrnoIfMinus1RetryMayBlock
, but discards the result.
©
Neil Mitchell
2004-2012, version 4.2.11