Don't you just want to open the named pipe in non-blocking mode and then use fcntl(2) to turn off the non-blocking so that read and select work the way you want them to? Boyd Roberts boyd at prl.dec.com ``When the going gets wierd, the weird turn pro...''