1 #include <sys/select.h>
3 #define F(t,n) {t *y = &x.n;}
4 #define C(n) switch(n){case n:;}
15 F(suseconds_t, tv_usec)
19 void(*p_FD_CLR)(int,fd_set*) = FD_CLR;
22 int(*p_FD_ISSET)(int,fd_set*) = FD_ISSET;
25 void(*p_FD_SET)(int,fd_set*) = FD_SET;
28 void(*p_FD_ZERO)(fd_set*) = FD_ZERO;
30 int(*p_pselect)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,const struct timespec*restrict,const sigset_t*restrict) = pselect;
31 int(*p_select)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,struct timeval*restrict) = select;