unix question about stdin

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Apr 25 13:59:55 AEST 1989


In article <1495 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>*However*, I don't know whether every standard I/O implementation in the
>world would work correctly if you copy one FILE object atop another one.

I can think of several ways in which it could fail,
but in any case it's a bad idea because it "orphans" any resources
that were previously associated with the stream.



More information about the Comp.unix.wizards mailing list