summaryrefslogblamecommitdiff
path: root/src/time/clock_gettime.c
blob: dab09d50cfc49af32433caa890218301549aa220 (plain) (tree)
1
2
3
4
5
6
7






                                                           
#include <time.h>
#include "syscall.h"

int clock_gettime(clockid_t clk, struct timespec *ts)
{
	return syscall2(__NR_clock_gettime, clk, (long)ts);
}