1 #value_indexed 2 RLIMIT_CPU 0 3 RLIMIT_FSIZE 1 4 RLIMIT_DATA 2 5 RLIMIT_STACK 3 6 RLIMIT_CORE 4 7 8 #if defined(__alpha__) 9 RLIMIT_RSS 5 10 RLIMIT_NOFILE 6 11 RLIMIT_AS 7 12 RLIMIT_NPROC 8 13 RLIMIT_MEMLOCK 9 14 #elif defined(__mips__) 15 RLIMIT_NOFILE 5 16 RLIMIT_AS 6 17 RLIMIT_RSS 7 18 RLIMIT_NPROC 8 19 RLIMIT_MEMLOCK 9 20 #elif defined(__sparc__) 21 RLIMIT_RSS 5 22 RLIMIT_NOFILE 6 23 RLIMIT_NPROC 7 24 RLIMIT_MEMLOCK 8 25 RLIMIT_AS 9 26 #else 27 RLIMIT_RSS 5 28 RLIMIT_NPROC 6 29 RLIMIT_NOFILE 7 30 RLIMIT_MEMLOCK 8 31 RLIMIT_AS 9 32 #endif 33 34 RLIMIT_LOCKS 10 35 RLIMIT_SIGPENDING 11 36 RLIMIT_MSGQUEUE 12 37 RLIMIT_NICE 13 38 RLIMIT_RTPRIO 14 39 RLIMIT_RTTIME 15 40