Todd C. Miller wrote: > > After thinking about this a bit more I believe it best to just use > the existing FILE * and swap in the buffer temporarily. There's > no need to store the value of the old buffer; since we are unbuffered > it can only point to _nbuf.
This is neat.