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

From: Petr Vandrovec (VANDROVE@vc.cvut.cz)
Date: Tue May 22 2001 - 10:55:47 EST


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



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:46 EST