projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add __sigsetjmp ABI-compat alias for sigsetjmp
[oweals/musl.git]
/
src
/
linux
/
prlimit.c
1
#define _GNU_SOURCE
2
#include <sys/resource.h>
3
#include "syscall.h"
4
#include "libc.h"
5
6
int 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
}
10
11
#undef prlimit64
12
LFS64(prlimit);