1 2 3 4 5 6 7
#include <sys/times.h> #include "syscall.h" clock_t times(struct tms *tms) { return syscall1(__NR_times, (long)&tms); }