LFS64 alias for prlimit

issue reported/requested by Justin Cormack
This commit is contained in:
Rich Felker committed 2012-09-21 04:05:01 -04:00
1 parent 662da62eb7
commit f600105eef
2 files changed
+4

No files matched your search

+3
View File
@@ -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);