how can I get filename from file descriptor?

Ronald G Minnich rminnich at super.ORG
Sat Sep 16 06:16:01 AEST 1989


In article <10850 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>If your pipe implementation is any good (most are not), simply write 0
>bytes to it.
Well, now i am real curious. I tried this about 6 years ago on 
several unices, mostly on vaxes and 11s and such and a Fortune machine,
and i never saw a zero-length write make it through to a read.
So, anybody ever had this work? It would be kind of neat if it did...
Sign me,
Marveling in Maryland
ron



More information about the Comp.unix.wizards mailing list