mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-19 03:20:05 +00:00
602b6b0fe4
* 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>
12 lines
369 B
C
12 lines
369 B
C
#ifndef _SYS_RESOURCE_H
|
|
#include <resource/sys/resource.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern int __getrlimit (enum __rlimit_resource __resource,
|
|
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
|