Skip to content
BSD syscall#195

svc · unix #195

setrlimit

Sets the soft and hard limits for a given resource.

Prototype

int setrlimit(u_int which, struct rlimit *rlp);

Returns: int

Arguments

NameTypeDirDescription
whichu_int-
rlpstruct rlimit-

Version history

XNU tagmacOS#
xnu-1456.1.26macOS 10.6 Snow Leopard195
xnu-1486.2.11195
xnu-1504.15.3195
xnu-1504.3.12195
xnu-1504.7.4195
xnu-1504.9.17195
xnu-1504.9.26195
xnu-1504.9.37195

Notes

No prose documentation yet.