https://github.com/torvalds/linux
Raw File
Tip revision: 69e273c0b0a3c337a521d083374c918dc52c666f authored by Linus Torvalds on 01 September 2014, 01:23:04 UTC
Linux 3.17-rc3
Tip revision: 69e273c
resource.h
#ifndef _LINUX_RESOURCE_H
#define _LINUX_RESOURCE_H

#include <uapi/linux/resource.h>


struct task_struct;

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

#endif
back to top