GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GETDTABLESIZE(2) FreeBSD System Calls Manual GETDTABLESIZE(2)

getdtablesize
get file descriptor limit

Standard C Library (libc, -lc)

#include <unistd.h>

int
getdtablesize(void);

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.

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

The getdtablesize() system call appeared in 4.2BSD.
April 24, 2013 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.