Subject: Re: sendfile()
To: NetBSD Users Mailing List <netbsd-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 07/07/2003 23:44:19
On Mon, Jul 07, 2003 at 03:55:55PM -0500, Douglas G. Phillips wrote:
> Is there an equivalent to the linux sendfile() in NetBSD?  I didn't find anything in my searches, although I could have looked wrongly, knowing how my week has started out already :)

There isn't. However, -current has a zero-copy TCP path for write(), so
mmap()ing the file and write()ing it in large chunks would probably to the
same.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--