resource.h 339 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds's avatar
Linus Torvalds committed
2 3 4
#ifndef _LINUX_RESOURCE_H
#define _LINUX_RESOURCE_H

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

7 8 9

struct task_struct;

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

Linus Torvalds's avatar
Linus Torvalds committed
14
#endif