Query: getdtablesize
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getdtablesize(2) System Calls Manual getdtablesize(2)NAMEgetdtablesize() - get the size of the per-process file descriptor tableSYNOPSISDESCRIPTIONThe function returns the maximum number of file descriptors that can currently be stored in a process' file descriptor table. This maximum number is also known as the soft limit for open files, and can be adjusted up to the hard limit by calling The entries in the descriptor table are numbered with small integers starting at 0 (zero). The function returns the total number of file descriptors that a process can have open simultaneously. Each process is limited to a cur- rent maximum (soft limit) and a fixed upper bound (hard limit) of open file descriptors. This limit is at least 32. The system-defined limits are configurable. See the descriptions of the and kernel parameters in maxfiles_lim(5) and maxfiles(5), respectively, for informa- tion about changing the system-defined, per-process limit on open file descriptors.RETURN VALUESThe function returns the size of the descriptor table (soft limit), and is always successful.SEE ALSOclose(2), getrlimit(2), open(2), select(2), setrlimit(2), sysconf(2), maxfiles(5), maxfiles_lim(5).STANDARDS CONFORMANCEgetdtablesize(2)
Related Man Pages |
---|
getdtablesize(2) - linux |
getdtablesize(2) - debian |
getdtablesize(2) - suse |
getdtablesize(3) - v7 |
getdtablesize(3) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
File Descriptors |
Explanation of error message(s) |
file size limit? |
character limit via awk |
Can't solve the "Too many open files" error |