pub fn prlimit(pid: Option<Pid>, resource: Resource, new: Rlimit) -> io::Result<Rlimit>
The portability is definied by: #[cfg(any(target_os = "android", target_os = "linux"))]
Documentation
prlimit(pid, resource, new)
—Get and set a process resource limit value.
References