aboutsummaryrefslogtreecommitdiff
path: root/gnu/libg++/g++-include/sys/resource.h
blob: 3596c1b3145c5aa675eaf3d22b20ee3e34f430f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __libgxx_sys_resource_h

extern "C"
{
#ifdef __sys_resource_h_recursive
#include_next <sys/resource.h>
#else
#include <_G_config.h>
#define __sys_resource_h_recursive
#include <sys/time.h>

#ifdef VMS
#include "GNU_CC_INCLUDE:[sys]resource.h"
#else
#include_next <sys/resource.h>
#endif

#define __libgxx_sys_resource_h 1

int getrusage(int, struct rusage*);
int getrlimit (int resource, struct rlimit *rlp);
int setrlimit _G_ARGS((int resource, const struct rlimit *rlp));
long      ulimit(int, long);
int       getpriority(int, int);
int       setpriority(int, int, int);
#endif
}

#endif