summaryrefslogtreecommitdiff
path: root/gnulib.c
blob: 08544fc4ee27fb22a78222b9a0869e0c795dd4d8 (plain) (blame)
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);
}