5.1.4. Whole File Operations

To be done.

5.1.4.1. Example: Linux Whole File Operations

ssize_t sendfile (int out_fd, int in_fd, off_t *offset, size_t count);
ssize_t splice (int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags);

To minimize the data copying overhead, it is possible to copy the content of one file to another.

5.1.4.2. Example: Windows Whole File Operations