17 #include <sys/select.h> 21 typedef unsigned long int __fd_mask;
27 #define MSTR_FD_SETSIZE 65536 35 __fd_mask fds_bits[MSTR_FD_SETSIZE / __NFDBITS];
36 # define __FDS_BITS(set) ((set)->fds_bits) 38 __fd_mask __fds_bits[MSTR_FD_SETSIZE / __NFDBITS];
39 # define __FDS_BITS(set) ((set)->__fds_bits) 45 inline int mstr_select(
int numfds, mstr_fd_set* readfds, mstr_fd_set* writefds, mstr_fd_set* exceptfds,
struct timeval *timeout){
46 return ::select(numfds, (fd_set*)readfds, (fd_set*)writefds, (fd_set*)exceptfds, timeout);
50 #define fd_set mstr_fd_set 54 #define mstr_select( A , B , C , D , E ) ::select( A , B , C , D , E ) #define mstr_select(A, B, C, D, E)
Definition: PDCselect.h:54