Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getdtab(2) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

close(2)

dup(2)

open(2)

select(2)

GETDTABLESIZE(2)  —  Silicon Graphics

NAME

getdtablesize − get descriptor table size

SYNOPSIS

nfds = getdtablesize()
int nfds;

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. 

NOTE

The primitive documented on this manual page is a system call, but unlike most system calls it is not resolved by libc.  To compile and link a program that makes this call, follow the procedures for section (3B) routines as described in intro(3).

SEE ALSO

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

Version 2.5r1  —  October 29, 1986

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