how can I get filename from file descriptor?
Doug Gwyn
gwyn at smoke.BRL.MIL
Wed Sep 20 07:27:29 AEST 1989
In article <862 at cirrusl.UUCP> dhesi%cirrusl at oliveb.ATC.olivetti.com (Rahul Dhesi) writes:
>I think the wizards who are shaping the development of non-AT&T UNIX
>should seriously consider including a general mechanism for sending an
>out-of-band EOF. Right now the concept of a zero-byte read from a tty
>meaning EOF, and the zero-byte-write method describe above, are
>hack-ish.
I utterly disagree. Out-of-band data communication is hackish.
There never HAS been an EOF in UNIX; it's always been a read()
returning 0. At least that is properly synchronized with the
valid data.
More information about the Comp.unix.wizards
mailing list