1GETDTABLESIZE(2) System Calls Manual GETDTABLESIZE(2)
2
3
4
6 getdtablesize - get descriptor table size
7
9 nfds = getdtablesize()
10 int nfds;
11
13 Each process has a fixed size descriptor table, which is guaranteed to
14 have at least 20 slots. The entries in the descriptor table are num‐
15 bered with small integers starting at 0. The call getdtablesize
16 returns the size of this table.
17
19 close(2), dup(2), open(2), select(2)
20
21
22
234.2 Berkeley Distribution June 28, 1985 GETDTABLESIZE(2)