public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PROPOSAL: extend pipe() to support NULL argument.
@ 2009-07-02  7:36 Changli Gao
  2009-07-02  9:13 ` Amerigo Wang
  0 siblings, 1 reply; 33+ messages in thread
From: Changli Gao @ 2009-07-02  7:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List

Linux also uses pipes as references of kernel buffers. In that case,
only one RW file descriptor will be enough, instead of inventing a new
system call, I think extending the existing pipe() is a better idea.
If pipe is passed with a NULL pointer, one RW file descriptor is
returned. I have checkd the other architectures except of x86, it
seems that not all of the platforms implement this system call with
the prototype: int pipe(int fd[2]); and changing glibc is needed. Is
it possible to extend pipe() in this way?

-- 
Regards,
Changli Gao(xiaosuo@gmail.com)

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2009-07-08  4:43 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02  7:36 PROPOSAL: extend pipe() to support NULL argument Changli Gao
2009-07-02  9:13 ` Amerigo Wang
2009-07-02  9:18   ` Changli Gao
2009-07-02  9:46     ` Amerigo Wang
2009-07-02 10:04       ` Changli Gao
2009-07-02 10:21         ` Amerigo Wang
2009-07-03  0:43           ` Changli Gao
2009-07-03  1:55             ` Amerigo Wang
2009-07-03  2:10               ` Changli Gao
2009-07-03  3:00                 ` Amerigo Wang
2009-07-03  4:08                   ` Changli Gao
2009-07-03  5:19                     ` Amerigo Wang
2009-07-03  5:42                       ` Changli Gao
2009-07-03  7:15                         ` Amerigo Wang
2009-07-03  7:40                           ` Changli Gao
2009-07-03  8:16                             ` Amerigo Wang
2009-07-03  8:27                               ` Changli Gao
2009-07-03  9:42                                 ` Amerigo Wang
2009-07-03  9:59                                   ` Changli Gao
2009-07-03 10:23                                     ` Amerigo Wang
2009-07-03 10:28                                     ` Albert ARIBAUD
2009-07-06  1:12                                       ` Changli Gao
2009-07-06  6:15                                         ` Albert ARIBAUD
2009-07-06  6:23                                           ` Changli Gao
2009-07-06  6:30                                             ` Albert ARIBAUD
2009-07-07  4:43                                       ` Denys Vlasenko
2009-07-07  7:45                                         ` Changli Gao
2009-07-07 20:37                                           ` David Newall
2009-07-07 21:02                                             ` Zan Lynx
2009-07-08  4:41                                               ` Changli Gao
2009-07-08  4:43                                                 ` David Newall
2009-07-02 10:42     ` Alan Cox
2009-07-03  0:45       ` Changli Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox