delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
In-Reply-To: | <de5519b00707261844v15d0f361j61a2389b76f3b4f1@mail.gmail.com> |
References: | <de5519b00707261844v15d0f361j61a2389b76f3b4f1 AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 (Apple Message framework v752.2) |
Message-Id: | <FC3E21CE-3CD2-43CF-BA5F-9E45723074F6@gmail.com> |
Reply-To: | cygwin mailing list <cygwin AT cygwin DOT com> |
From: | Morgan gangwere <0 DOT fractalus AT gmail DOT com> |
Subject: | Re: Accessing RS-232 serial port under Cygwin |
Date: | Fri, 27 Jul 2007 11:18:48 -0600 |
To: | cygwin Mailing list <cygwin AT cygwin DOT com> |
X-Mailer: | Apple Mail (2.752.2) |
X-IsSubscribed: | yes |
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 Jul 26, 2007, at 7:44 PM, ask.teddy wrote: > Hello, > > 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? > > Many thanks. > > Ying > > [footer clipped] just like in unix. /dev/ttys[number] and /dev/tty[num] should be open... -- 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 |