Back to index

glibc  2.9
Defines | Typedefs | Functions | Variables
resource.h File Reference
#include <features.h>
#include <bits/resource.h>

Go to the source code of this file.


#define __id_t_defined


typedef __id_t id_t
typedef int __rusage_who_t
typedef int __priority_which_t


int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __THROW
int setrlimit (__rlimit_resource_t __resource, __const struct rlimit *__rlimits) __THROW
int getrusage (__rusage_who_t __who, struct rusage *__usage) __THROW
int getpriority (__priority_which_t __which, id_t __who) __THROW
int setpriority (__priority_which_t __which, id_t __who, int __prio) __THROW


__BEGIN_DECLS typedef int __rlimit_resource_t

Define Documentation

#define __id_t_defined

Definition at line 29 of file resource.h.

Typedef Documentation

Definition at line 45 of file resource.h.

Definition at line 44 of file resource.h.

typedef __id_t id_t

Definition at line 28 of file resource.h.

Function Documentation

int getpriority ( __priority_which_t  __which,
id_t  __who 
int getrlimit ( __rlimit_resource_t  __resource,
struct rlimit __rlimits 

Here is the caller graph for this function:

int getrusage ( __rusage_who_t  __who,
struct rusage __usage 

Here is the caller graph for this function:

int setpriority ( __priority_which_t  __which,
id_t  __who,
int  __prio 
int setrlimit ( __rlimit_resource_t  __resource,
__const struct rlimit __rlimits 

Variable Documentation

Definition at line 43 of file resource.h.