Rewriting the GNU Coreutils in Rust
Rewriting the GNU Coreutils in Rust
Posted Jun 9, 2021 13:58 UTC (Wed) by Sesse (subscriber, #53779)In reply to: Rewriting the GNU Coreutils in Rust by Paf
Parent article: Rewriting the GNU Coreutils in Rust
You can use splice() to go directly from one file descriptor to another with no pipe in-between (sendfile is just a special case of splice), or use the new copy_file_range() call.
