about summary refs log tree commit diff
path: root/src/linux/settimeofday.c
blob: 15c18c637972f4a62a86666f6ad865d626487edf (plain) (blame)
1
2
3
4
5
6
7
8
#define _BSD_SOURCE
#include <sys/time.h>
#include "syscall.h"

int settimeofday(const struct timeval *tv, const struct timezone *tz)
{
	return syscall(SYS_settimeofday, tv, 0);
}