delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/02/13:46:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <003d01c02ca0$dd2d58e0$0201a8c0@mark>
From: "Frank Wagner" <f DOT wagner AT gmx DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: controlling the serial port
Date: Mon, 2 Oct 2000 19:44:57 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211

Hello,

I try to access the serial port with the cygwin package under windows95.
Is this possible at all?

I use the following funktion call:

 fd = open("com1", O_RDWR | O_NOCTTY | O_NDELAY);

I replaced the "ttyS0" with "com1" is this correct?

Who will help me? I can send the whole code.

I try this for a long time without a success.

With regards

Frank




--
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