Fwd: PROBLEM: serial port receive buffers not being flushed properly

2007-07-27 Thread Paul Fulghum
From: [EMAIL PROTECTED] > [1.] PROBLEM: serial port receive buffers not being flushed properly > [2.] After calling tcflush() or ioctl() with the TCFLSH argument, > an ioctl() with the FIONREAD argument reports 0 bytes available > for reading. However, a subsequent select() and read() of the port >

Fwd: PROBLEM: serial port receive buffers not being flushed properly

2007-07-27 Thread Russell King
Please reply to the original poster. - Forwarded message from [EMAIL PROTECTED] - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: PROBLEM: serial port receive buffers not being flushed properly Date: Fri, 27 Jul 2007 14:51:00 + See attached .txt and .c files. Use that informat