summaryrefslogtreecommitdiff
path: root/src/linux/clock_adjtime.c
blob: 1fc9bef4dd11b9138fecc9a1db071ac4bc9efd75 (plain)
1
2
3
4
5
6
7
8
9
#define _GNU_SOURCE
#include <time.h>
#include <sys/timex.h>
#include "syscall.h"

int clock_adjtime (clockid_t clock_id, struct timex *utx)
{
	return syscall(SYS_clock_adjtime, clock_id, utx);
}