Automatically retrying system calls that may be interrupted with EINTR.
module Syscall_result = Core.Unix.Syscall_resultval syscall : (unit ‑> 'a) ‑> ('a, exn) Core.Result.tsyscall f repeatedly calls f until it returns or raises an exception that
isn't Unix_error (EINTR, _, _).
val syscall_result : 'a ‑> ('a ‑> 'b Syscall_result.t) ‑> 'b Syscall_result.tsyscall_result a f repeatedly calls f a until it returns a result that is
not Syscall_result.create_error EINTR.
val syscall_result2 : 'a ‑> 'b ‑> ('a ‑> 'b ‑> 'c Syscall_result.t) ‑> 'c Syscall_result.t