1 2 3 4 5 6 7 8
#include <assert.h> #include <sys/select.h> unsigned long __fdelt_chk(unsigned long size) { assert(size < FD_SETSIZE); return size / (sizeof(unsigned long) << 3); }