From owner-cvs-all Thu Nov 5 20:12:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA14102 for cvs-all-outgoing; Thu, 5 Nov 1998 20:12:54 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA13998; Thu, 5 Nov 1998 20:11:19 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id XAA28798; Thu, 5 Nov 1998 23:09:53 -0500 (EST) (envelope-from wollman) Date: Thu, 5 Nov 1998 23:09:53 -0500 (EST) From: Garrett Wollman Message-Id: <199811060409.XAA28798@khavrinen.lcs.mit.edu> To: Matthew Dillon Cc: Joseph Koshy , dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ), cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: sendfile.2 (was Re: cvs commit: ...) In-Reply-To: <199811060401.UAA00767@apollo.backplane.com> References: <199811060342.TAA11021@hub.freebsd.org> <199811060401.UAA00767@apollo.backplane.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk < said: > Well, it isn't that difficult to do... it would take maybe 20 minutes > to implement. A simple MAP_PRIVATE replacement of __srefill() and maybe > a little code to avoid unnecessary copy-on-write ops. Personally, I'm of the opinion that if what you want to do is going to benefit from mmap(2) at all, you shouldn't be using stdio. If all you care about is occasionally being able to call fprintf(3), it's trivial to implement on top of fwopen(3) or funopen(3). -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message