1 #include <sys/resource.h>
3 #define F(t,n) {t *y = &x.n;}
4 #define C(n) switch(n){case n:;}
25 F(struct timeval
, ru_utime
)
26 F(struct timeval
, ru_stime
)
35 {int(*p
)(int,id_t
) = getpriority
;}
36 {int(*p
)(int,struct rlimit
*) = getrlimit
;}
37 {int(*p
)(int,struct rusage
*) = getrusage
;}
38 {int(*p
)(int,id_t
,int) = setpriority
;}
39 {int(*p
)(int,const struct rlimit
*) = setrlimit
;}