diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6f1267da4..2eb3a3d0c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Wed Jan 31 13:20:00 2001 Corinna Vinschen + + * include/sys/resources.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS. + Tue Jan 30 18:15:23 2001 Christopher Faylor * include/cygwin/version.h: Bump version to 1.3.0. 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