sig
type limit = Limit of int64 | Infinity
val sexp_of_limit : Core_unix.RLimit.limit -> Sexplib.Sexp.t
val limit_of_sexp : Sexplib.Sexp.t -> Core_unix.RLimit.limit
type t = { cur : Core_unix.RLimit.limit; max : Core_unix.RLimit.limit; }
val sexp_of_t : Core_unix.RLimit.t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> Core_unix.RLimit.t
type resource =
[ `Core_file_size
| `Cpu_seconds
| `Data_segment
| `File_size
| `Num_file_descriptors
| `Stack
| `Virtual_memory ]
val sexp_of_resource : Core_unix.RLimit.resource -> Sexplib.Sexp.t
val resource_of_sexp : Sexplib.Sexp.t -> Core_unix.RLimit.resource
val resource_of_sexp__ : Sexplib.Sexp.t -> Core_unix.RLimit.resource
val get : Core_unix.RLimit.resource -> Core_unix.RLimit.t
val set : Core_unix.RLimit.resource -> Core_unix.RLimit.t -> unit
end