Query: getdtablesize
OS: freebsd
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETDTABLESIZE(2) BSD System Calls Manual GETDTABLESIZE(2)NAMEgetdtablesize -- get file descriptor limitLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <unistd.h> int getdtablesize(void);DESCRIPTIONThe getdtablesize() system call returns the maximum number of file descriptors that the current process may open. The maximum file descrip- tor 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.SEE ALSOclose(2), closefrom(2), dup(2), getrlimit(2), sysconf(2)HISTORYThe getdtablesize() system call appeared in 4.2BSD.BSDApril 24, 2013 BSD