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 <mcf@chariot.net.au>
Reply-To: mcf@chariot.net.au
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Accessing RS-232 serial port under Cygwin
References: <de5519b00707261844v15d0f361j61a2389b76f3b4f1@mail.gmail.com>
In-Reply-To: <de5519b00707261844v15d0f361j61a2389b76f3b4f1@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

