Module sys/copy
sys/copy
File copy operations.
Synchronous wrappers for copyfile/sendfile.
These are inherently synchronous on all platforms.
Return values
copyfile: 0 on success, -errno on failuresendfile: bytes transferred on success, -errno on failure