Re: splice() on two pipes

From: Max Kellermann
Date: Thu Apr 30 2009 - 02:42:51 EST


On 2009/04/30 08:21, Jens Axboe <jens.axboe@xxxxxxxxxx> wrote:
> See sys_tee().

Hm, so I could tee() from pipe1 to pipe2, then delete data from pipe1
by splicing it to /dev/null...

Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/