diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-11-20 05:08:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-11-20 05:08:30 +0000 |
commit | 602b6b0fe4976bbb17347fda33e6feac88b91906 (patch) | |
tree | 1f39417bb4058007c0c358de6ebb3334895ec45f /include | |
parent | 228589d285c9d65e361d52b8de99e81dc7e6cee0 (diff) | |
download | glibc-602b6b0fe4976bbb17347fda33e6feac88b91906.tar glibc-602b6b0fe4976bbb17347fda33e6feac88b91906.tar.gz glibc-602b6b0fe4976bbb17347fda33e6feac88b91906.tar.bz2 glibc-602b6b0fe4976bbb17347fda33e6feac88b91906.zip |
Update.
* sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
the rlimits structure passed in.
1999-11-19 Andreas Jaeger <aj@suse.de>
* include/sys/resource.h (__setrlimit): Add prototype.
1999-11-19 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/resource.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h index e234cc0426..8877b35f2a 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -3,6 +3,9 @@ /* Now define the internal interfaces. */ extern int __getrlimit (enum __rlimit_resource __resource, - struct rlimit *__rlimits) __THROW; -extern int __getrusage (enum __rusage_who __who, struct rusage *__usage) __THROW; + struct rlimit *__rlimits); +extern int __getrusage (enum __rusage_who __who, struct rusage *__usage); + +extern int __setrlimit (enum __rlimit_resource __resource, + const struct rlimit *__rlimits); #endif |