summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-21 04:05:01 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-21 04:05:01 -0400
commitf600105eef74a636a0efd1f1d07170ce5df9aa64 (patch)
treee21f43a0d6f7528752b286164aef1b52e85b3354 /src
parent662da62eb7cba808e98fe8ea65f6bbf55fa50f1e (diff)
downloadmusl-f600105eef74a636a0efd1f1d07170ce5df9aa64.tar.gz
LFS64 alias for prlimit
issue reported/requested by Justin Cormack
Diffstat (limited to 'src')
-rw-r--r--src/linux/prlimit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/linux/prlimit.c b/src/linux/prlimit.c
index b9dbb446..12152484 100644
--- a/src/linux/prlimit.c
+++ b/src/linux/prlimit.c
@@ -1,8 +1,11 @@
#include <unistd.h>
#include <sys/resource.h>
#include "syscall.h"
+#include "libc.h"
int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit)
{
return syscall(SYS_prlimit64, pid, resource, new_limit, old_limit);
}
+
+LFS64(prlimit);