summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/sys/resource.h
blob: 442434cd1b4ce66abd024f6acc5d73a5fe36cf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SYS_RESOURCE_H
#define _SYS_RESOURCE_H

#include <sys/cdefs.h>
#include <linux/resource.h>

int getpriority(int which, int who) __THROW;
int setpriority(int which, int who, int prio) __THROW;

int getrlimit (int resource, struct rlimit *rlim);
int getrusage (int who, struct rusage *usage);
int setrlimit (int resource, const struct rlimit *rlim);

typedef unsigned long rlim_t;

#endif