getdtablesize2
Get file descriptor limit
Usage
#include <unistd.h>
int
getdtablesize(void);
Library
Standard C Library (libc, -lc)
Overview
The getdtablesize() system call returns the maximum number of file descriptors that the current process may open. The maximum file descriptor number that the system may assign is the return value minus one. Existing file descriptor numbers may be higher if the limit was lowered after they were opened.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 42 times.