* include/sys/resources.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS.
This commit is contained in:
@ -16,6 +16,9 @@ extern "C" {
|
||||
#define RLIMIT_OFILE RLIMIT_NOFILE /* BSD name */
|
||||
#define RLIMIT_AS 6 /* address space (virt. memory) limit */
|
||||
|
||||
#define RLIMIT_NLIMITS 7 /* upper bound of RLIMIT_* defines */
|
||||
#define RLIM_NLIMITS RLIM_NLIMITS
|
||||
|
||||
#define RLIM_INFINITY (0xffffffffUL)
|
||||
#define RLIM_SAVED_MAX RLIM_INFINITY
|
||||
#define RLIM_SAVED_CUR RLIM_INFINITY
|
||||
|
Reference in New Issue
Block a user