summaryrefslogtreecommitdiffstats
path: root/include/linux/resource.h
blob: 277afdad65890568c04fe6b06e19f900a06321e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LINUX_RESOURCE_H
#define _LINUX_RESOURCE_H

#include <uapi/linux/resource.h>


struct task_struct;

void getrusage(struct task_struct *p, int who, struct rusage *ru);
int do_prlimit(struct task_struct *tsk, unsigned int resource,
		struct rlimit *new_rlim, struct rlimit *old_rlim);

#endif
OpenPOWER on IntegriCloud