resource.h 306 B

12345678910111213
  1. #ifndef _LINUX_RESOURCE_H
  2. #define _LINUX_RESOURCE_H
  3. #include <uapi/linux/resource.h>
  4. struct task_struct;
  5. int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
  6. int do_prlimit(struct task_struct *tsk, unsigned int resource,
  7. struct rlimit *new_rlim, struct rlimit *old_rlim);
  8. #endif