Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/resource.c')
-rw-r--r--newlib/libc/sys/linux/resource.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/resource.c b/newlib/libc/sys/linux/resource.c
new file mode 100644
index 000000000..4a80bbfce
--- /dev/null
+++ b/newlib/libc/sys/linux/resource.c
@@ -0,0 +1,10 @@
+/* libc/sys/linux/resource.c - Process resource functions */
+
+/* Copyright 2002, Red Hat Inc. */
+
+#include <sys/resource.h>
+#include <machine/syscall.h>
+
+_syscall2(int,getrusage,int,who,struct rusage *,r_usage)
+_syscall2(int,getrlimit,int,resource,struct rlimit *,rlp)
+_syscall2(int,setrlimit,int,resource,const struct rlimit *,rlp)