GETDTABLESIZE(2) — Silicon Graphics
NAME
getdtablesize − get descriptor table size
SYNOPSIS
nfds = getdtablesize()
int nfds;
DESCRIPTION
Each process has a fixed size descriptor table, which is guaranteed to have at least 20 slots. The entries in the descriptor table are numbered with small integers starting at 0. The call getdtablesize returns the size of this table.
NOTE
The primitive documented on this manual page is a system call, but unlike most system calls it is not resolved by libc. To compile and link a program that makes this call, follow the procedures for section (3B) routines as described in intro(3).
SEE ALSO
close(2), dup(2), open(2), select(2)
Version 3.6 — December 20, 1987