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