Re: Copy File programmatically
- From: John Reiser <jreiser@xxxxxxxxxxxx>
- Date: Tue, 24 Apr 2007 14:54:08 -0700
It seems like [file] copy would be a common enough operation
that there would be a single function call to accomplish it.
man sendfile
That handles only the transport of bytes. sendfile was designed
for network operations where low latency is desired. sendfile
does not handle open, close, error conditions, semantic goofs
(such as attempting to copy a file to itself), etc. Please use
system("cp source destination"); unless there is a good reason
not to.
--
.
- Follow-Ups:
- Re: Copy File programmatically
- From: Rainer Weikusat
- Re: Copy File programmatically
- References:
- Copy File programmatically
- From: bridges . cj
- Re: Copy File programmatically
- From:
- Copy File programmatically
- Prev by Date: Re: need to write a virtualizer!
- Next by Date: Re: automake compress man pages?
- Previous by thread: Re: Copy File programmatically
- Next by thread: Re: Copy File programmatically
- Index(es):