pub unsafe fn sys_getrlimit(resource: c_int, rlimits: *mut rlimit) -> c_int
Get resource limitations
TODO: support more resource types