package core_unix
Module Syscall_result.IntSource
include Core.Equal.S with type t := t
This returns a preallocated object for all errors and at least a few ok_values, so can be used in many contexts where avoiding allocation is important.
This is more efficient than calling error_exn and then the create_error of the destination type.
Source
val ok_or_unix_error_with_args_exn :
t ->
syscall_name:string ->
'a ->
('a -> Core.Sexp.t) ->
int