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







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

int clock_settime(clockid_t clk, const struct timespec *ts)
{
	return syscall2(__NR_clock_settime, clk, (long)ts);
}