tee() with your splice()?
Posted Apr 13, 2006 15:49 UTC (Thu) by axboe
In reply to: tee() with your splice()?
Parent article: tee() with your splice()?
Because then you want to outputs at least, otherwise you'd end up with a new pipe just containing what you consumed. Not very interesting. And it was decided that the semantics of a one -> one tee was more appropriate than a one -> two where the input is consumed.
With the current tee, you can think of it as simply a pipe dupe with memcpy() like semantics.
to post comments)