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






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

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