how can I get filename from file descriptor?

Rahul Dhesi dhesi at sun505.UUCP
Sat Oct 7 12:36:32 AEST 1989


In article <1189 at necisa.ho.necisa.oz> boyd at 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 <dhesi%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.unix.wizards mailing list