Re: Problems with FIFO open in non-blocking mode?

1999-09-06 Thread Andrew Gierth
> "Alex" == Alex Povolotsky writes: Alex> if ((control = open("STATUS",O_WRONLY|O_NONBLOCK))<0) { Alex> fails to run (STATUS is pre-created FIFO file) with error Alex> "Device not configured", which seems kinda odd for me. Alex> However, when FIFO is opened with O_RDWR and O_NONBLOCK,

Re: Problems with FIFO open in non-blocking mode?

1999-09-05 Thread Andrew Gierth
> "Alex" == Alex Povolotsky <[EMAIL PROTECTED]> writes: Alex> if ((control = open("STATUS",O_WRONLY|O_NONBLOCK))<0) { Alex> fails to run (STATUS is pre-created FIFO file) with error Alex> "Device not configured", which seems kinda odd for me. Alex> However, when FIFO is opened with O_R