1 2 3 4 5 6 7
#include <sys/resource.h> #include "syscall.h" int getrusage(int who, struct rusage *ru) { return syscall(SYS_getrusage, who, ru); }