delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/23/11:01:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Mon, 23 Aug 1999 11:00:42 -0400
To: Baron Shatturday <BaronShatturday AT netzero DOT net>
Cc: kpo AT tbit DOT dk, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Serial port programming
Message-ID: <19990823110042.A13837@cygnus.com>
Mail-Followup-To: Baron Shatturday <BaronShatturday AT netzero DOT net>,
kpo AT tbit DOT dk, cygwin AT sourceware DOT cygnus DOT com
References: <37C0EAC4 DOT 63151D86 AT tbit DOT dk> <199908230653 DOT XAA03904 AT cygnus DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <199908230653.XAA03904@cygnus.com>; from Baron Shatturday on Sun, Aug 22, 1999 at 11:53:20PM -0700

On Sun, Aug 22, 1999 at 11:53:20PM -0700, Baron Shatturday wrote:
>
>>  I've got the following problem: I need to access the serial ports of
>>my PC through an ANSI C program.  How do I do that ?  I have already
>>tried using fopen("/dev/com2", "r")
>
>Have you tried using ("/dev/ttyS1", "r")?
>
>Just a thought...

Nope.  You're thinking about linux, it seems.

Cygwin uses /dev/com1, /dev/com2, etc.

-chris

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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