Mail Archives: djgpp/1998/11/01/19:32:56
Epsilon Beta wrote:
>
> Hello Evry1,
>
> I'm searching for the fastest DJGPP C/gas (no C++)-source to
> 1) copy a file/directory
> 2) delete a file/directory
> 3) move a file/directory
> 4) rename a file/directory
Are `link', `unlink', `rmdir', and `rename' too slow? If not, I suggest
you use them. Although they are somewhat more complex than one might
think necessary, they do work correctly with LFNs and under several
special cases.
As for copying, if you must bum every last instruction out of your I/O
throughput, you may need to write it in something other than DJGPP; the
mode switch for each transfer buffer-sized is unavoidable. But IMHO,
it's not worth the trouble.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -