delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/06/04:32:42

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: <E13D7AD1EFF1D311B84C0050DA438FC3269261@exchange.xiring.com>
From: Ludovic DELAMOTTE <l DOT delamotte AT xiring DOT com>
To: cygwin AT cygwin DOT com
Subject: Serial port ?
Date: Tue, 6 Feb 2001 10:27:34 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

In a soft written in C, I want to send and receive data on the COM1 or COM3.
After 
  file = fopen( "COM1", "rb" )
... I can write on the serial com (fwrite/fread).

But, how can I configure a serial com with cygnus without doing:

C:> MODE com1:9600,n,8,1,none   ( with DOS )

--
Fozzy

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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