GETDTABLESIZE(2)
NAME
getdtablesize − get descriptor table size
USAGE
nds = getdtablesize() int nds;
DESCRIPTION
Each process has a fixed size descriptor table that is guaranteed to have at least 20 slots. The entries in the descriptor table are all small integers. The lowest-numbered descriptor is zero.
RETURN VALUE
The call getdtablesize returns a non-negative integer (the size of the descriptor table).