Amiga Unix — 68040 · 68060

Manual pages › BSD C library (3B)

getdtblsz(3B)

get descriptor table size

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

getdtablesize - get descriptor table size

SYNOPSIS

cc [ flag... ] file ... -lucb

long getdtablesize()

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.

SEE ALSO

close(2),  dup(2),  getrlimit(2),   and   open(2)   in   the
Programmer's Reference Manual.