summaryrefslogtreecommitdiff
path: root/src/time/clock_gettime.c
blob: c345c46e03e5be739dc1871b7706bf23424fac6a (plain)
1
2
3
4
5
6
7
#include <time.h>
#include "syscall.h"

int clock_gettime(clockid_t clk, struct timespec *ts)
{
	return syscall(SYS_clock_gettime, clk, ts);
}