|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)getdtablesize.2 6.2 (Berkeley) 6/28/85 ! 6: .\" ! 7: .TH GETDTABLESIZE 2 "June 28, 1985" ! 8: .UC 5 ! 9: .SH NAME ! 10: getdtablesize \- get descriptor table size ! 11: .SH SYNOPSIS ! 12: .nf ! 13: .ft B ! 14: nfds = getdtablesize() ! 15: int nfds; ! 16: .fi ! 17: .SH DESCRIPTION ! 18: Each process has a fixed size descriptor table, ! 19: which is guaranteed to have at least 20 slots. The entries in ! 20: the descriptor table are numbered with small integers starting at 0. ! 21: The call ! 22: .I getdtablesize ! 23: returns the size of this table. ! 24: .SH "SEE ALSO" ! 25: close(2), dup(2), open(2), select(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.