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