? ?? ?When opening a FIFO with O_RDONLY or O_WRONLY set:
? ?? ?* If??O_NONBLOCK??is set, an open() for reading-only shall return without delay. An open() for writing-only shall return an error if no process currently has the file open for reading.
? ?? ? * If O_NONBLOCK is clear, an open() for reading-only shall block the calling thread until??a??thread??opens??the??file for writing. An open() for writing-only shall block the calling thread until a thread opens the??file for reading.