Re: [RFD w/info-PATCH] device arguments from lookup, partio

Petr Vandrovec (VANDROVE@vc.cvut.cz)
Tue, 22 May 2001 17:52:53 MET-1


[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/