Subject: Re: sendfile support in NetBSD
To: Bill Studenmund <wrstuden@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: netbsd-users
Date: 02/27/2007 21:58:09
On Tue, Feb 27, 2007 at 05:05:46PM -0800, Bill Studenmund wrote:
>
> I agree that the same functionality can be achieved. However there are
> three things that I see in favor of having a sendfile() or a splice().
I certainly agree that we should have splice().
sendfile() is an API botch. We should not propagate it; nor should we
mistake an _asynchronous_ file splicer for a _synchronous_ special-purpose
hack.
Thor