rework langinfo code for ABI compat and for use by time code
[musl] / src / linux / settimeofday.c
1 #define _BSD_SOURCE
2 #include <sys/time.h>
3 #include "syscall.h"
4
5 int settimeofday(const struct timeval *tv, const struct timezone *tz)
6 {
7         return syscall(SYS_settimeofday, tv, 0);
8 }