Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-01-31 15:21:23 +0300
committerCorinna Vinschen <corinna@vinschen.de>2001-01-31 15:21:23 +0300
commit44e6d951c798b0e7ab16ad2dd58a289b1633f2ae (patch)
treea0e3df237a6be114d67c82eb803e44e814d16a2f /winsup/cygwin/include/sys
parent4f42df7bc43f874642b8da13c44438ca0d450c5f (diff)
* include/sys/resources.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r--winsup/cygwin/include/sys/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/resource.h b/winsup/cygwin/include/sys/resource.h
index 1f859cf0f..a84a85dea 100644
--- a/winsup/cygwin/include/sys/resource.h
+++ b/winsup/cygwin/include/sys/resource.h
@@ -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