Subject: Re: Ongoing projects
To: Soren S. Jorvang <soren@t.dk>
From: Andrew Doran <ad@fionn.sports.gov.uk>
List: tech-kern
Date: 05/07/1999 09:34:57
"Soren S. Jorvang" wrote:
> 
> On Thu, May 06, 1999 at 07:23:21PM +0000, Andy Doran wrote:
> >       A sendfile() implementation, maybe an aio_sendfile() too.
> 
> Hi, just a thought.
> 
> sendfile(2) is strictly file-to-socket, right?

Yep.
 
> How about a more generalized syscall like move(2) or so that would
> move blocks of data from file descriptor to file descriptor,
> bypassing kernel/user copies in the way of sendfile(2)?

The original call on Windows NT ( SendFile() ) let's you do this,
but for compatibility how about implementing sendfile() with
move(), so we retain compatibility with FreeBSD and HP-UX?

Andy.