* 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

@@ -347,6 +347,8 @@ getpid
_getpid = getpid
getppid
_getppid = getppid
getrlimit
_getrlimit = getrlimit
getrusage
_getrusage = getrusage
gets
@@ -622,6 +624,8 @@ setlocale
_setlocale = setlocale
setpgid
_setpgid = setpgid
setrlimit
_setrlimit = setrlimit
setsid
_setsid = setsid
settimeofday