* include/sys/resources.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS.

This commit is contained in:
Corinna Vinschen
2001-01-31 12:21:23 +00:00
parent 4f42df7bc4
commit 44e6d951c7
2 changed files with 7 additions and 0 deletions

View File

@ -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