manpages.info - online man pages   

Mac OS X / Darwin man pages : Getdtablesize (2)
Getdtablesize (2)

Table of Contents

Name

getdtablesize - get descriptor table size

Library

Standard C Library (libc, -lc)

Synopsis

#include <unistd.h>

int
getdtablesize(void);

Description

Each process has a fixed size 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 call getdtablesize() returns the size of this table.

See Also

close(2) , dup(2) , open(2) , select(2)

History

The getdtablesize() function call appeared in 4.2BSD.


Table of Contents