On Wed, May 10, 2006 at 03:04:41PM +0200, Karel Kulhavy wrote: >It looks like tcdrain in cygwin doesn't wait until data are transmitted, >but just drains the software buffer, and doesn't drain the buffer in the >16550A chip. Can you please confirm that this is really how Cygwin >works?
The source code for the tcdrain call is in fhandler_serial.cc. You should be able to satisfy your curiousity by looking at that. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/