prlimit.c\linux\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/prlimit.c
blob: 1215248431de7eab3518f2ee146014450afd440e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 08:47:51 +0000

AltStyle によって変換されたページ (->オリジナル) /