2005-04-17 02:20:36 +04:00
|
|
|
#ifndef _LINUX_RESOURCE_H
|
|
|
|
#define _LINUX_RESOURCE_H
|
|
|
|
|
2012-10-13 13:46:48 +04:00
|
|
|
#include <uapi/linux/resource.h>
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2009-11-20 16:16:33 +03:00
|
|
|
|
|
|
|
struct task_struct;
|
|
|
|
|
2017-05-15 03:25:02 +03:00
|
|
|
void getrusage(struct task_struct *p, int who, struct rusage *ru);
|
2010-03-24 18:11:29 +03:00
|
|
|
int do_prlimit(struct task_struct *tsk, unsigned int resource,
|
|
|
|
struct rlimit *new_rlim, struct rlimit *old_rlim);
|
2006-06-25 16:47:41 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
#endif
|