Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!rml From: rml@hpfcdc.HP.COM (Bob Lenk) Newsgroups: comp.unix.wizards Subject: Re: shell file descriptor programming (was: Unlinked temp files) Message-ID: <5980050@hpfcdc.HP.COM> Date: 24 May 89 20:30:33 GMT References: <10944@bloom-beacon.MIT.EDU> Organization: HP Ft. Collins, Co. Lines: 11 > 1) compile the number in; > > 2) fetch it with "getdtablesize" (BSD4.2 and later); > > 3) fetch it with "ulimit(4, 0L)" (S5R3.0 and later). 4) fetch it with "sysconf(_SC_OPEN_MAX)" (POSIX) Bob Lenk hplabs!hpfcla!rml rml@hpfcla.hp.com