Re: PROPOSAL: extend pipe() to support NULL argument.
From: Amerigo Wang
Date: Thu Jul 02 2009 - 05:44:26 EST
On Thu, Jul 02, 2009 at 05:18:49PM +0800, Changli Gao wrote:
>On Thu, Jul 2, 2009 at 5:13 PM, Amerigo Wang<xiyou.wangcong@xxxxxxxxx> 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.
You are not answering the question, obviously.
And you snipped too much, how can you return that fd? Using the return value?
Ah! This will probably break the user-space program...
--
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/