BSD 4_2 development
[unix-history] / usr / man / man2 / getdtablesize.2
CommitLineData
3fb466ea
C
1.TH GETDTABLESIZE 2 "12 February 1983"
2.UC 4
3.SH NAME
4getdtablesize \- get descriptor table size
5.SH SYNOPSIS
6.nf
7.ft B
8nds = getdtablesize()
9int nds;
10.fi
11.SH DESCRIPTION
12Each process has a fixed size descriptor table
13which is guaranteed to have at least 20 slots. The entries in
14the descriptor table are numbered with small integers starting at 0.
15The call
16.I getdtablesize
17returns the size of this table.
18.SH "SEE ALSO"
19close(2), dup(2), open(2)