1#include <time.h> 2#include "syscall.h" 3 4int clock_getres(clockid_t clk, struct timespec *ts) 5{ 6 return syscall(SYS_clock_getres, clk, ts); 7} 8