]> Zhao Yanbai Git Server - minix.git/commitdiff
<sys/resource.h> - define RLIM_NLIMITS
authorBen Gras <ben@minix3.org>
Mon, 26 Jul 2010 10:04:45 +0000 (10:04 +0000)
committerBen Gras <ben@minix3.org>
Mon, 26 Jul 2010 10:04:45 +0000 (10:04 +0000)
include/sys/resource.h

index 465b6ea9503afb1e2308b82caa5a4aa5a5079891..ccff073584f47cfb15f60225de42c275531ab33a 100644 (file)
@@ -39,6 +39,7 @@ struct rlimit
 #define RLIMIT_STACK   6
 #define RLIMIT_AS      7
 
+#define RLIM_NLIMITS 8
 int getrlimit(int resource, struct rlimit *rlp);
 
 #endif /* defined(_POSIX_SOURCE) */