pub fn open_read<P: AsRef<Path>>(path: P) -> Result<File>Expand description
Opens a named pipe for reading. The file is opened for non-blocking reads
a la libc’s O_NONBLOCK.
§Examples
let file = unix_named_pipe::open_read(file_name).expect("could not open fifo for reading");