delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
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 |
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 |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |