getdtablesize

Name

getdtablesize -- get file descriptor table size (DEPRECATED)

Synopsis

#include <unistd.h>

int getdtablesize (void );

Description

The function getdtablesize() returns the number of files a process can have open.

Note: The getdtablesize() function is deprecated. Portable applications should call sysconf() with the _SC_OPEN_MAX option instead.

Return Value

The getdtablesize() function returns the current soft limit as if obtained by a call to sysconf() with the _SC_OPEN_MAX option.

Errors

No errors are defined.