resource
int getpriority (int which, id_t who);
int which
id_t who
int getrlimit (int resource, struct rlimit *rlp);
int resource
struct rlimit *rlp
int getrusage (int who, struct rusage *rup);
int who
struct rusage *rup
int setpriority (int which, id_t who, int value);
int value
int setrlimit (int resource, const struct rlimit *rlp);
const struct rlimit *rlp
#define id_t
#define rlim_t
#define time_t
#define suseconds_t
# define RLIM_INFINITY (~0)
# define RLIMIT_SAVED_CUR RLIM_INFINITY
# define RLIMIT_SAVED_MAX RLIM_INFINITY