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