X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <95455e980802200235m574ab1b7j4875211aa96651cb@mail.gmail.com> Date: Wed, 20 Feb 2008 21:35:29 +1100 From: hce To: cygwin AT cygwin DOT com Subject: Support select() to read data from serial port MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/