October 2018
Beginner
794 pages
19h 23m
English
The following two C programs are used to demonstrate the usage of the prlimit(2) API:
Refer to the following code:
/* From ch3/rlimits_show.c */#define ARRAY_LEN(arr) (sizeof((arr))/sizeof((arr)[0]))static void query_rlimits(void){ unsigned i; struct rlimit rlim; struct rlimpair ...