Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getrlimit(2)

open(2)

pipe(2)

sysconf(3C)

getdtablesize(3B)

NAME

getdtablesize − get file descriptor table size

SYNOPSIS

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

int getdtablesize()

DESCRIPTION

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 ALSO

getrlimit(2), open(2), pipe(2), sysconf(3C)

NOTES

Use of these interfaces should be restricted to only applications written on BSD platforms.  Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported. 

SunOS 5.4  —  Last change: 18 Feb 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026