1 #include "time32.h"
2 #include <time.h>
3 #include <sys/select.h>
4
__pselect_time32(int n,fd_set * restrict rfds,fd_set * restrict wfds,fd_set * restrict efds,const struct timespec32 * restrict ts32,const sigset_t * restrict mask)5 int __pselect_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struct timespec32 *restrict ts32, const sigset_t *restrict mask)
6 {
7 return pselect(n, rfds, wfds, efds, !ts32 ? 0 : (&(struct timespec){
8 .tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}), mask);
9 }
10