X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <95455e980802200235m574ab1b7j4875211aa96651cb AT mail DOT gmail DOT com> Subject: RE: Support select() to read data from serial port Date: Wed, 20 Feb 2008 10:42:28 -0000 Message-ID: <004a01c873ad$499e59b0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <95455e980802200235m574ab1b7j4875211aa96651cb@mail.gmail.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 20 February 2008 10:35, hce wrote: > Hi, > > I guess that > select() is not supported by the window, nor by minGW. Yep. > Will cygwin support select() in a fiile > system to read data from a serial port? Yep. > In cygwin, can I keep native > read() and write() system call to a serial port file descriptor, Yep. :) You should be able to just recompile your program on cygwin and it'll work. You even get to use linux-alike /dev/ttyS0 names to access the serial port (ttyS0 = COM1, ttyS1 = COM2, etc..) cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/