1*61181Sbostic.\" Copyright (c) 1983, 1991, 1993 2*61181Sbostic.\" The Regents of the University of California. All rights reserved. 320219Smckusick.\" 443568Strent.\" %sccs.include.redist.man% 520219Smckusick.\" 6*61181Sbostic.\" @(#)getdtablesize.2 8.1 (Berkeley) 06/04/93 738053Sbostic.\" 847208Scael.Dd 947208Scael.Dt GETDTABLESIZE 2 1047208Scael.Os BSD 4.2 1147208Scael.Sh NAME 1247208Scael.Nm getdtablesize 1347208Scael.Nd get descriptor table size 1447208Scael.Sh SYNOPSIS 1547208Scael.Fd #include <unistd.h> 1647208Scael.Ft int 1747208Scael.Fn getdtablesize void 1847208Scael.Sh DESCRIPTION 1923802SsechrestEach process has a fixed size descriptor table, 2020219Smckusickwhich is guaranteed to have at least 20 slots. The entries in 2120219Smckusickthe descriptor table are numbered with small integers starting at 0. 2220219SmckusickThe call 2347208Scael.Fn getdtablesize 2420219Smckusickreturns the size of this table. 2547208Scael.Sh SEE ALSO 2647208Scael.Xr close 2 , 2747208Scael.Xr dup 2 , 2847208Scael.Xr open 2 , 2947208Scael.Xr select 2 3047208Scael.Sh HISTORY 3147208ScaelThe 3247208Scael.Nm 3347208Scaelfunction call appeared in 3447208Scael.Bx 4.2 . 35