This is the mail archive of the cygwin 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]
Other format: [Raw text]

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/


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