throwErrnoIf
Throw an IOError corresponding to the current value of getErrno if the result value of the IO action meets the given predicate.
as throwErrnoIf, but discards the result of the IO action after error handling.
Throw an IOError corresponding to the current value of getErrno if the IO action returns a result of -1.
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.
Throw an IOError corresponding to the current value of getErrno if the IO action returns nullPtr, but retry in case of an interrupted operation.
as throwErrnoIf, but retry the IO action when it yields the error code eINTR - this amounts to the standard retry loop for interrupted POSIX system calls.