Date: Tue, 20 Jun 2000 21:01:59 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Alfred Perlstein <bright@wintelcom.net> Cc: arch@FreeBSD.ORG Subject: Re: kblob discussion. Message-ID: <Pine.BSF.4.21.0006202052030.2485-100000@besplex.bde.org> In-Reply-To: <20000619111309.E26801@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Jun 2000, Alfred Perlstein wrote:
> /*
> * returns an fd to be used with kblobsend, preloads len of *addr into
> * the kernel to be sent out
> */
> int kblob __P((int len, void *addr));
This should be:
int kblob __P((const void *addr, size_t len));
(like write(2)).
> /*
> * see sendfile(2), but instead of the fd referencing a vnode it
> * references a fd returned from kblob
> */
> int kblobsend __P((int, int, off_t, size_t, struct sf_hdtr *,
^ const? (same for sendfile(2))
> off_t *, int));
Bruce
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006202052030.2485-100000>
