BSD syscall#194
svc · unix #194
getrlimit
Returns the soft and hard limits for a given resource.
Prototype
int getrlimit(u_int which, struct rlimit *rlp);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| which | u_int | - | |
| rlp | struct rlimit | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 194 |
| xnu-1486.2.11 | — | 194 |
| xnu-1504.15.3 | — | 194 |
| xnu-1504.3.12 | — | 194 |
| xnu-1504.7.4 | — | 194 |
| xnu-1504.9.17 | — | 194 |
| xnu-1504.9.26 | — | 194 |
| xnu-1504.9.37 | — | 194 |
Notes
No prose documentation yet.