https://github.com/torvalds/linux
Raw File
Tip revision: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 authored by Linus Torvalds on 14 March 2021, 21:41:02 UTC
Linux 5.12-rc3
Tip revision: 1e28eed
resource.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_RESOURCE_H
#define _LINUX_RESOURCE_H

#include <uapi/linux/resource.h>


struct task_struct;

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

#endif
back to top