Module resource

Source
Expand description

Configure the process resource limits.

Structs§

Usage
Output of getrusage with information about resource usage. Some of the fields may be unused in some platforms, and will be always zeroed out. See their manuals for details.

Enums§

Resource
Types of process resources.
UsageWho
Whose resource usage should be returned by getrusage.

Constants§

RLIM_INFINITY

Functions§

getrlimit
Get the current processes resource limits
getrusage
Get usage information for a process, its children or the current thread
setrlimit
Set the current processes resource limits

Type Aliases§

rlim_t