Function base::sys::unix::new_pipe_full

source ·
pub fn new_pipe_full() -> Result<(File, File)>
Expand description

Test-only function used to create a pipe that is full. The pipe is created, has its size set to the minimum and then has that much data written to it. Use new_pipe_full to test handling of blocking write calls in unit tests.