blob: 1215248431de7eab3518f2ee146014450afd440e [file] [log] [blame]
Rich Felker26f38322012-01-20 22:10:47 -05001#include <unistd.h>
2#include <sys/resource.h>
3#include "syscall.h"
Rich Felkerf6001052012-09-21 04:05:01 -04004#include "libc.h"
Rich Felker26f38322012-01-20 22:10:47 -05005
6int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit)
7{
8 return syscall(SYS_prlimit64, pid, resource, new_limit, old_limit);
9}
Rich Felkerf6001052012-09-21 04:05:01 -040010
11LFS64(prlimit);