Re: tcflush waits

2003-07-29 Thread Jon Schneider
Having now looked at the source I feel it is like this by design but I don't understand why as there are no comments.If this is indeed a best approximation to the intended behaviour should it be documented as such ? Jon On 28 Jul 2003 at 14:49, [EMAIL PROTECTED] wrote: I have an app that opens

tcflush waits

2003-07-28 Thread Jon Schneider
I have an app that opens a serial port and sets VTIME to 1, VMIN to 0. When it does tcflush(,TCIOFLUSH) or tcflush(,TCIFLUSH) it takes exactly 100ms. I don't expect there to be anything to read but this call is not supposed to wait. I tried setting VMIN to something else with no effect.