Imandrakit_io_setrlimit
type resource =
| RLIMIT_CORE
maximum size of a core file, in bytes
*)| RLIMIT_CPU
maximum amount of CPU time, in seconds, used by a process
*)| RLIMIT_DATA
maximum size of a data segment of the process, in bytes
*)| RLIMIT_FSIZE
maximum size of a file, in bytes, that may be created by a process
*)| RLIMIT_NOFILE
a number one greater than the maximum value that the system may assign to a newly-created descriptor
*)| RLIMIT_STACK
maximum size of the initial thread's stack, in bytes. This might clash with OCaml's stack management.
*)| RLIMIT_AS
maximum size of total available memory of the process, in bytes
*)module Raw : sig ... end
val set : resource -> int -> bool
set resource limit
returns true
if setting the limit succeeded