Returns a resource limit.
fn resource_limit(process: i32, resource: Resource) -> Result<(u64, u64), Errno>
| Name | Description |
|---|---|
| process | The process whose resource limit to return. |
| resource | The resource whose limit to return. |
Returns the soft limit in the first slot and the hard limit in the second slot.