Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!oliveb!tymix!cirrusl!sun505!dhesi From: dhesi@sun505.UUCP (Rahul Dhesi) Newsgroups: comp.unix.wizards Subject: Re: how can I get filename from file descriptor? Message-ID: <947@cirrusl.UUCP> Date: 7 Oct 89 02:36:32 GMT References: <9353@chinet.chi.il.us> <1639@cbnewsl.ATT.COM> <10850@smoke.BRL.MIL> <14280@super.ORG> <11099@smoke.BRL.MIL> <862@cirrusl.UUCP> <11113@smoke.BRL.MIL> <867@cirrusl.UUCP> <1189@necisa.ho.necisa.oz> Sender: news@cirrusl.UUCP Reply-To: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Organization: Cirrus Logic Inc. Lines: 15 In article <1189@necisa.ho.necisa.oz> boyd@necisa.ho.necisa.oz (Boyd Roberts) writes: >There is no EOF in UNIX; ... >...A suitable stream line discipline would solve >whatever your problem is. There *is* an EOF in UNIX. Enough UNIX documentation says it that I believe it. Case closed. The zero-length read/write strategy, besides not working for pipes, also doesn't work with buffered streams. It's a pretty poor solution at this time. Rahul Dhesi UUCP: oliveb!cirrusl!dhesi