Query: getdtablesize
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getdtablesize(3C) Standard C Library Functions getdtablesize(3C)NAMEgetdtablesize - get the file descriptor table sizeSYNOPSIS#include <unistd.h> int getdtablesize(void);DESCRIPTIONThe getdtablesize() function is equivalent to getrlimit(2) with the RLIMIT_NOFILE option.RETURN VALUESThe getdtablesize() function returns the current soft limit as if obtained from a call to getrlimit() with the RLIMIT_NOFILE option.ERRORSNo errors are defined.USAGEThere is no direct relationship between the value returned by getdtablesize() and OPEN_MAX defined in <limits.h>. Each process has a file descriptor table which is guaranteed to have at least 20 slots. The entries in the descriptor table are numbered with small integers starting at 0. The getdtablesize() function returns the current maximum size of this table by calling the getrlimit() function.SEE ALSOclose(2), getrlimit(2), open(2), setrlimit(2), select(3C) SunOS 5.11 1 Mar 1996 getdtablesize(3C)
Related Man Pages |
---|
getdtablesize(2) - linux |
getdtablesize(3) - linux |
getdtablesize(2) - debian |
getdtablesize(3) - centos |
getdtablesize(2) - hpux |
Similar Topics in the Unix Linux Community |
---|
unresolved symbol on AIX 5.2 |
terminal problem |
Warning for arjunjag: Double Posting |
which signal will flush the file buffer in C/C++ |
Why do I receive Program received signal SIGABRT, Aborted? |