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

    Changli Gao(

     \ /
      Last update: 2009-07-02 09:39    [W:0.020 / U:13.876 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site