lkml.org 
[lkml]   [2001]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [RFD w/info-PATCH] device arguments from lookup, partio
    [trimmed cc list down a bit - my MUA does not allow for so long CC:]

    On 22 May 01 at 9:33, Jan Harkes wrote:
    >
    > something like,
    >
    > ssize_t kioctl(int fd, int type, int cmd, void *inbuf, size_t inlen,
    > void *outbuf, size_t outlen);

    If we are inventing new API, then if we could have

    ssize_t kioctl(int fd, int type, int cmd,
    const struct iovec* riov, size_t riov_len,
    const struct iovec* wiov, size_t wiov_len);

    then I'm almost sure that it will save couple of passing pointer to pointer
    in structure headaches - for sure it will in code I maintain (ncpfs).
    Best regards,
    Petr Vandrovec
    vandrove@vc.cvut.cz

    -
    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: 2005-03-22 12:53    [W:0.034 / U:2.348 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site