On Fri, Sep 08, 2000 at 03:59:15PM -0500, Karl Fogel wrote:
> Greg Stein <email@example.com> writes:
> > Not sure I understand. You would write a function which used APR to do the
> > read/write. Or are you asking whether APR "should" have a copy function?
> The latter. Sure I can write a read/write loop, but I would think
> that some systems might provide faster ways to do it (i.e., using
> fancy block sizes during the copy that make everything happen
> lightning quick... or is that just wishful thinking, and most Unix
> cp's are just a standard read/write loop anyway?)
Why don't you write a function and I'll check it into APR? The other OS's
could then optimize at will. If you want to write the function somewhere in
SVN, then I'll just copy/port it over to the right place (with the
appropriate APR framework's magic pixie dust).
Good call -- this would be a good addition to APR.
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006