summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/g++-include/sys/resource.h
blob: 1984416116b5c0be688d1e82aff2ca0f7d6711f5 (plain)
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
30
31
//	$Id: resource.h,v 1.2 1993/08/02 17:21:42 mycroft Exp $

#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