summaryrefslogtreecommitdiff
path: root/src/linux/settimeofday.c
blob: bd7e41046bda0964adfaa1f56699768e2e86e4b6 (plain)
1
2
3
4
5
6
7
#include <sys/time.h>
#include "syscall.h"

int settimeofday(const struct timeval *tv, void *tz)
{
	return syscall2(__NR_settimeofday, (long)tv, 0);
}