Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

getdtablesize — get file descriptor limit

Description

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.

History

The getdtablesize() system call appeared in 4.2BSD. Debian April 24, 2013 GETDTABLESIZE(2)

Library

Standard C Library (libc, -lc)

Name

getdtablesize — get file descriptor limit

See Also

close(2), closefrom(2), dup(2), getrlimit(2), sysconf(3)

Synopsis

#include<unistd.h>intgetdtablesize(void);

See Also