resource

resource

Functions

int getpriority ()
int getrlimit ()
int getrusage ()
int setpriority ()
int setrlimit ()

Types and Values

#define id_t
#define rlim_t
#define time_t
#define suseconds_t
#define RLIM_INFINITY
#define RLIMIT_SAVED_CUR
#define RLIMIT_SAVED_MAX

Description

Functions

getpriority ()

int
getpriority (int which,
             id_t who);

getrlimit ()

int
getrlimit (int resource,
           struct rlimit *rlp);

getrusage ()

int
getrusage (int who,
           struct rusage *rup);

setpriority ()

int
setpriority (int which,
             id_t who,
             int value);

setrlimit ()

int
setrlimit (int resource,
           const struct rlimit *rlp);

Types and Values

id_t

#define             id_t

rlim_t

#define             rlim_t

time_t

#define             time_t

suseconds_t

#define             suseconds_t

RLIM_INFINITY

# define RLIM_INFINITY		(~0)

RLIMIT_SAVED_CUR

# define RLIMIT_SAVED_CUR RLIM_INFINITY

RLIMIT_SAVED_MAX

# define RLIMIT_SAVED_MAX RLIM_INFINITY