Date: Thu, 5 Nov 1998 23:09:53 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Joseph Koshy <jkoshy@FreeBSD.ORG>, 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: ...) Message-ID: <199811060409.XAA28798@khavrinen.lcs.mit.edu> In-Reply-To: <199811060401.UAA00767@apollo.backplane.com> References: <199811060342.TAA11021@hub.freebsd.org> <199811060401.UAA00767@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 5 Nov 1998 20:01:20 -0800 (PST), Matthew Dillon <dillon@apollo.backplane.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811060409.XAA28798>