3 #if defined(HAVE_SYSCONF) && defined(_SC_OPEN_MAX)
4 #define GETDTABLESIZE() ((int)sysconf(_SC_OPEN_MAX))
5 #elif defined(HAVE_GETDTABLESIZE)
6 #define GETDTABLESIZE getdtablesize
9 * if we have no idea about the max fd value set up things
10 * so we will start at FOPEN_MAX
12 #define GETDTABLESIZE() (FOPEN_MAX + FD_CHUNK)
15 extern void make_socket_nonblocking( SOCKET fd );
16 extern SOCKET move_fd( SOCKET fd );