Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/getrlimitusage.2
| Show All 25 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd October 24, 2025 | .Dd October 24, 2025 | ||||
| .Dt GETRLIMITUSAGE 2 | .Dt GETRLIMITUSAGE 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm getrlimitusage | .Nm getrlimitusage | ||||
| .Nd Query usage of the current process' limited resources | .Nd Query usage of the current process' limited resources | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/resource.h | .In sys/resource.h | ||||
| .Ft int | .Ft int | ||||
| .Fn getrlimitusage "unsigned which" "int flags" "rlim_t *res" | .Fn getrlimitusage "unsigned which" "int flags" "rlim_t *res" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Nm | .Nm | ||||
| system call allows the process to query current consumption of the resources | system call allows the process to query current consumption of the resources | ||||
| limited by the | limited by the | ||||
| ▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines | |||||