public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [RFD w/info-PATCH] device arguments from lookup, partio
@ 2001-05-22 17:52 Petr Vandrovec
  0 siblings, 0 replies; only message in thread
From: Petr Vandrovec @ 2001-05-22 17:52 UTC (permalink / raw)
  To: Jan Harkes
  Cc: viro, rgooch, matthew, clausen, bcrl, linux-kernel, linux-fsdevel,
	torvalds

[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
                                            

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-22 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-22 17:52 [RFD w/info-PATCH] device arguments from lookup, partio Petr Vandrovec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox