This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

serial port programming


Hello,

I'm trying to use cygwin to write an app that communicates via the serial
port.  I'm doing this under Windows NT.  

At one point I need to find out how many bytes are in the incoming
buffer.  The POSIX programming references I've found say to use FIONREAD,
but this is apparently not included in Cywin's termios.

I've found some references to this in the list archives, but wasn't clear
as to what it all meant.  Can I read the number of bytes in the
buffer?  

Thanks for any thoughts on this.

Tim Holmes



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]