Messages in this thread | | | Date | Fri, 3 Jul 2009 08:45:47 +0800 | Subject | Re: PROPOSAL: extend pipe() to support NULL argument. | From | Changli Gao <> |
| |
On Thu, Jul 2, 2009 at 6:42 PM, Alan Cox<alan@lxorguk.ukuu.org.uk> wrote: > On Thu, 2 Jul 2009 17:18:49 +0800 > Changli Gao <xiaosuo@gmail.com> wrote: > >> On Thu, Jul 2, 2009 at 5:13 PM, Amerigo Wang<xiyou.wangcong@gmail.com> wrote: >> > On Thu, Jul 02, 2009 at 03:36:41PM +0800, Changli Gao wrote: >> > >> > Why? Why do you need this feature? >> > >> Are you familiar with splice() and tee()? They both use pipes as kernel buffers. > > And are being used quite happily with the pipe() call. So what is the > problem ? > No problem! But I just want to save a fd. As one RW pipe fd is enough for splicing.
-- Regards, Changli Gao(xiaosuo@gmail.com) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |