getdtablesize(2) CLIX getdtablesize(2)
NAME
getdtablesize - Gets descriptor table size
LIBRARY
Berkeley Software Distribution Library (libbsd.a)
SYNOPSIS
int getdtablesize(
void );
DESCRIPTION
Each process has a fixed-size file descriptor table that is guaranteed to
have at least 20 slots. The getdtablesize() function returns the size of
this table.
EXAMPLES
To get the size of the descriptor table:
table_size = getdtablesize();
RETURN VALUES
The getdtablesize() function returns the size of the file descriptor
table.
ERRORS
This function never sets errno.
2/94 - Intergraph Corporation 1