lkml.org 
[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: PROPOSAL: extend pipe() to support NULL argument.
From
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/

\
 
 \ /
  Last update: 2009-07-03 02:49    [W:0.063 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site