sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
[musl.git] / compat / time32 / select_time32.c
blob2d8df9acaf4e8f00b8836448afb49b1902a79059
1 #include "time32.h"
2 #include <time.h>
3 #include <sys/time.h>
4 #include <sys/select.h>
6 int __select_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timeval32 *restrict tv32)
8 return select(n, rfds, wfds, efds, !tv32 ? 0 : (&(struct timeval){
9 .tv_sec = tv32->tv_sec, .tv_usec = tv32->tv_usec}));