Rather than using the 'select' call to determine if there is data in a fifo, I tried using: ioctl( fd0, FIONREAD, &count ); But this doesn't seem to work (not a tty). Is there any other way to determine how many bytes are waiting in a fifo? Regards, Jim. --- [rtl] --- For more information on Real-Time Linux see: http://www.rtlinux.org/