[][src]Function rlimit::prlimit_with_old

pub fn prlimit_with_old(
    pid: pid_t,
    resource: Resource,
    new_limit: Option<(rlim, rlim)>
) -> Result<(rlim, rlim)>

[Linux] Set and get the resource limits of an arbitrary process.