in reply to Re: Malfunctioning select() call on a FIFO
in thread Malfunctioning select() call on a FIFO

Instead of :
sysopen (FIFO, $icbmfifo, O_RDONLY|O_NONBLOCK);
We use:

sysopen (nullFile, $icbmfifo, O_RDONLY|O_NONBLOCK);<br/> sysopen (writeFile, $icbmfifo, O_WRONLY|O_NONBLOCK);<br/> sysopen (FIFO, $icbmfifo, O_RDONLY);<br/> close(nullFile);


This makes the program wait for data on the FIFO.