about summary refs log tree commit diff
path: root/src/time/clock_getres.c
blob: 539d4f94775da678914538b6ef526048431a6e04 (plain) (blame)
1
2
3
4
5
6
7
#include <time.h>
#include "syscall.h"

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