X-Spam-Check-By: sourceware.org X-Spam-Score: -2.166 Message-ID: <46A95D97.9030404@chariot.net.au> Date: Fri, 27 Jul 2007 12:21:03 +0930 From: Mike Fahlbusch Reply-To: mcf AT chariot DOT net DOT au User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Accessing RS-232 serial port under Cygwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ask.teddy wrote: > I want to write a C program which runs on a desktop computer and talks > to a device over the RS-232 serial port. I'm using WinXP + Cygwin, and > sometimes Ubuntu Linux. I hope this program can be ported to either OS > with the least modification at the source level. How can I use a C > program to access the serial port under Cygwin? This link will get you off to a good start: http://www.google.com/search?q=serial+C+unix+program -- Regards, Mike -- 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/