resource.h 306 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3
#ifndef _LINUX_RESOURCE_H
#define _LINUX_RESOURCE_H

4
#include <uapi/linux/resource.h>
Linus Torvalds's avatar
Linus Torvalds committed
5

6 7 8

struct task_struct;

9
int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
10 11
int do_prlimit(struct task_struct *tsk, unsigned int resource,
		struct rlimit *new_rlim, struct rlimit *old_rlim);
12

Linus Torvalds's avatar
Linus Torvalds committed
13
#endif