summaryrefslogtreecommitdiff
path: root/libgcompat/gnulib.c
blob: e0ee953a0cff54d35c398aa4616a736087b6454f (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);
}