Skip to contentSkip to conversation

device arguments from lookup, partio

RFD w/info-PATCH Petr Vandrovec 1 participant 1 message May 22, 2001

lore
Share & tools
lore
#0 lore raw

[trimmed cc list down a bit - my MUA does not allow for so long CC:]

Quoted 5 lines · Jan Harkes

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 [email protected]