pub fn prlimit(
pid: pid_t,
resource: Resource,
new_limit: Option<(u64, u64)>,
old_limit: Option<(&mut u64, &mut u64)>
) -> Result<()>
Available on Linux or Android only.
Expand description
Set and get the resource limits of an arbitrary process.