[−][src]Function linux::syscall::prlimit
pub fn prlimit(
pid: pid_t,
res: c_int,
new: Option<&rlimit64>,
old: Option<&mut rlimit64>
) -> c_int
Retrieves or sets resource limits of a process.
[argument, pid] The affected process.
[argument, res] The affected resource.
[argument, new] The (optional) new value of the resource.
[argument, old] A place where the previous value of the object will be stored.
[return_value] Returns success or an error value.
= See also
- link:man:prlimit(2)