delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/26/22:51:37

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 AT chariot DOT net DOT au>
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: <de5519b00707261844v15d0f361j61a2389b76f3b4f1 AT mail DOT gmail DOT com>
In-Reply-To: <de5519b00707261844v15d0f361j61a2389b76f3b4f1@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019