This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Support select() to read data from serial port
- From: hce <webmail dot hce at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Feb 2008 21:35:29 +1100
- Subject: Support select() to read data from serial port
Hi,
I have a C++ program using select() to read data from a serial port
with a QT package. It runs fine in a linux system, but could not run
on a window system with a pre-installed minGW. I have zero experience
on window program environment and I am new to cygwin. I guess that
select() is not supported by the window, nor by minGW. I am going to
replace minGW by cygwin. Will cygwin support select() in a fiile
system to read data from a serial port? In cygwin, can I keep native
read() and write() system call to a serial port file descriptor, or I
should change them to window ReadFile() and WriteFile()?
Thank you.
Kind Regards,
Jim
--
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/