* cygwin.din: Add symbols for getrlimit' and setrlimit'.

* exceptions.cc (stackdump): Avoid creating stackdump when
        `rlim_core' is 0.
        * resource.cc: New global variable `rlim_core'.
        (getrlimit): New function.
        (setrlimit): Ditto.
        include/cygwin/version.h: Bump minor API version to 32 due to
        adding `getrlimit' and `setrlimit'.
        include/sys/resource.h: Add defines, types and prototypes for
        `getrlimit' and `setrlimit'.
This commit is contained in:
Corinna Vinschen
2000-12-27 00:13:57 +00:00
parent 2803e941b3
commit 8a93913d26
6 changed files with 102 additions and 1 deletions

View File

@ -122,10 +122,11 @@ details. */
29: Export hstrerror
30: CW_GET_CYGDRIVE_INFO addition to external.cc
31: Export inet_aton
32: Export getrlimit/setrlimit
*/
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 31
#define CYGWIN_VERSION_API_MINOR 32
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible