[TUHS] the sin of buffering [offshoot of excise process from a pipeline]

John Cowan cowan at mercury.ccil.org
Wed Jul 16 13:53:03 AEST 2014

Larry McVoy scripsit:

> Want your stream compressed or uncompressed?
> 	fpush(&stdin, fopen_vzip(stdin, "r"));

Me, I would have done it with freopen(stdin, "rv").

 John Cowan          http://www.ccil.org/~cowan        cowan at ccil.org
               Si hoc legere scis, nimium eruditionis habes.

More information about the TUHS mailing list