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

int timer_gettime(timer_t t, struct itimerspec *val)
{
	return syscall(SYS_timer_gettime, t->timerid, val);
}