is_pipe

Function is_pipe 

Source
fn is_pipe(fd: BorrowedFd<'_>) -> Result<bool>
Expand description

Checks if the file descriptor is a pipe or a FIFO.