Index of Section 3 Manual Pages
| Interix / SUA | getdtablesize.3 | Interix / SUA |
getdtablesize(3) getdtablesize(3)
getdtablesize()
NAME
getdtablesize() - return file descriptor table size
SYNOPSIS
#include
int getdtablesize(void);
DESCRIPTION
The getdtablesize(3) call returns the current limit on the number of file
descriptors.
This is equivalent to the call getrlimit(2) with the option RLIMIT_NOFILE.
RETURN VALUE
The getdtablesize(3) function returns the current soft limit on the number
of files open by a process.
NOTES
In previous releases of INTERIX, this was a macro that returned
{OPEN_MAX}. It's equivalent to:
sysconf(_SC_OPEN_MAX);
SEE ALSO
select(2)
USAGE NOTES
The getdtablesize function is thread safe.
The getdtablesize function is not async-signal safe.