pub fn getrlimit(resource: Resource) -> Result<(u64, u64)>
Get resource limits.
[Linux] See https://man7.org/linux/man-pages/man2/getrlimit.2.html