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