Module Core_unix.RLimit
Resource limits
module Limit : sig ... end
type limit
= Limit.t
=
| Limit of int64 |
| Infinity |
type t
=
{
cur : limit; | soft limit |
max : limit; | hard limit (ceiling for soft limit) |
}
type resource
val core_file_size : resource
val cpu_seconds : resource
val data_segment : resource
val file_size : resource
val num_file_descriptors : resource
val stack : resource
val virtual_memory : resource Core__.Import.Or_error.t
val nice : resource Core__.Import.Or_error.t
val get : resource -> t
val set : resource -> t -> unit