DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(BSD System Compatibility)

getdtablesize(3bsd)


getdtablesize -- (BSD) get descriptor table size

Synopsis

   /usr/ucb/cc [flag . . . ] file . . .
   

long getdtablesize(void);

Description

Each process has a 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 current maximum size of this table by calling the getrlimit system call.

References

close(2), dup(2), getrlimit(2), open(2)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004