Xref: utzoo comp.unix.wizards:22464 comp.bugs.4bsd:1573 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!snorkelwacker!spdcc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.unix.wizards,comp.bugs.4bsd Subject: Re: How to divorce a process from the controlling tty (was syslogd.c) Message-ID: <16874@haddock.ima.isc.com> Date: 13 Jun 90 21:06:47 GMT References: <1990Jun8.070904.7466@athena.mit.edu> <36447@sequent.UUCP> <11388@pixar.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 5 In article jtkohl@MIT.EDU (John T Kohl) writes: >Modern Unixes have a call to tell you the # of file descriptors: > count = getdtablesize(); Actually, in *modern* Unixes it's done with sysconf().