how can I get filename from file descriptor?

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Aug 28 18:14:53 AEST 1989


In article <1639 at cbnewsl.ATT.COM> ams at cbnewsl.ATT.COM (andrew.m.shaw,580,) writes:
> Please tell me how to "send EOF" to a pipe reader without closing 
> the FIFO...

If your pipe implementation is any good (most are not), simply write 0
bytes to it.



More information about the Comp.unix.wizards mailing list