device arguments from lookup, partio
[trimmed cc list down a bit - my MUA does not allow for so long CC:]
Quoted 5 lines · Jan Harkes
something like,
ssize_tkioctl(int fd, int type, int cmd, void *inbuf,size_tinlen,
void *outbuf,size_toutlen);
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 [email protected]