lkml.org 
[lkml]   [2006]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][RFC] splice support
    Linus Torvalds wrote:
    > The "destination first" convention is insane. It only makes sense for
    > assignments, and these aren't assignments.

    I agree.

    But alas, sendfile(2) is defined as destination first:

    > ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count)

    which begs the question, do we want to be different from sendfile(2),
    and confuse a segment of the programmer populace? :)

    Jeff


    -
    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: 2006-03-30 03:08    [W:0.087 / U:59.588 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site