Date: Sun, 26 Oct 1997 17:12:47 -0800 (PST) From: Tom <tom@sdf.com> To: Alfred Perlstein <perlsta@cs.sunyit.edu> Cc: hackers@freebsd.org Subject: Re: help with fstat? Message-ID: <Pine.BSF.3.95q.971026171008.26745A-100000@misery.sdf.com> In-Reply-To: <Pine.BSF.3.96.971026203728.19711A-100000@server.local.sunyit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Oct 1997, Alfred Perlstein wrote: ... > i want to run a loop doing reads from the file into a buffer of optimal > size... Don't do that. Just mmap() the file, and use memcpy(). Much more efficient. Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.971026171008.26745A-100000>