getdtablesize(2) getdtablesize(2)
NAME
getdtablesize - get file descriptor table size
SYNOPSIS
#include <unistd.h>
int getdtablesize(void);
DESCRIPTION
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.
SEE ALSO
Page 1