Function uucore::pipes::splice_exact
source · pub fn splice_exact(
source: &impl AsRawFd,
target: &impl AsRawFd,
len: usize
) -> Result<()>Expand description
Splice wrapper which fully finishes the write.
Exactly len bytes are moved from source into target.
Panics if source runs out of data before len bytes have been moved.