sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
[musl.git] / compat / time32 / settimeofday_time32.c
blob09e625cba3fe9c86eb952339bfb190c2517cc42a
1 #define _BSD_SOURCE
2 #include "time32.h"
3 #include <sys/time.h>
5 int __settimeofday_time32(const struct timeval32 *tv32, const void *tz)
7 return settimeofday(!tv32 ? 0 : (&(struct timeval){
8 .tv_sec = tv32->tv_sec,
9 .tv_usec = tv32->tv_usec}), 0);