Why does a read-only open of a named pipe block?
That’s just the way it’s defined. From the Open Group page for the open() function O_NONBLOCK When opening a FIFO with O_RDONLY or O_WRONLY set: If O_NONBLOCK is set: An open() for reading only will return without delay. An open() for writing only will return an error if no process currently has the file open … Read more