getdtablesize(2) getdtablesize(2)
getdtablesize - get file descriptor table size
#include <unistd.h>
int getdtablesize(void);
getdtablesize returns the maximum number of file descriptors that the
calling process can open. The related getdtablehi(3C) function returns
the value of the largest open file descriptor, plus one. The description
of {OPEN_MAX} in intro(2) provides more information about how file
descriptors are allocated and the various limits imposed on their use.
close(2), getdtablehi(3C), intro(2), open(2), select(2), setrlimit(2),
dup(3C)
PPPPaaaaggggeeee 1111 [ Back ]
|