[Mono-dev] [PATCH]System.IO.File.Replace

Leszek Ciesielski skolima at gmail.com
Wed Aug 15 18:54:54 EDT 2007


> Besides that, I have a question. Wouldn't be possible to use sendfile for
> unix systems? Senfile skip copying data to user space and should be a lot
> faster than using read/write.

>From man:

" Other Unix systems implement sendfile() with different semantics and
prototypes.  It should not  be  used  in  portable  programs."

and

"In Linux 2.4 and earlier, out_fd could refer to a regular file" (in
2.6 it has to be a socket).



More information about the Mono-devel-list mailing list