Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/getrlimit.2
| Show All 26 Lines | |||||
| .\" | .\" | ||||
| .Dd July 25, 2024 | .Dd July 25, 2024 | ||||
| .Dt GETRLIMIT 2 | .Dt GETRLIMIT 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm getrlimit , | .Nm getrlimit , | ||||
| .Nm setrlimit | .Nm setrlimit | ||||
| .Nd control maximum system resource consumption | .Nd control maximum system resource consumption | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/types.h | .In sys/types.h | ||||
| .In sys/time.h | .In sys/time.h | ||||
| .In sys/resource.h | .In sys/resource.h | ||||
| .Ft int | .Ft int | ||||
| .Fn getrlimit "int resource" "struct rlimit *rlp" | .Fn getrlimit "int resource" "struct rlimit *rlp" | ||||
| .Ft int | .Ft int | ||||
| .Fn setrlimit "int resource" "const struct rlimit *rlp" | .Fn setrlimit "int resource" "const struct rlimit *rlp" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| ▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines | |||||