Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <005c01c09040$33ae46e0$275c100a@actfs.co.uk> From: "Malcolm Boekhoff" To: "Cygwin News Group" References: Subject: Re: Serial port ? Date: Tue, 6 Feb 2001 13:24:58 -0000 Probably something to do with ioctl. ----- Original Message ----- From: "Ludovic DELAMOTTE" To: Sent: Tuesday, February 06, 2001 9:27 AM Subject: Serial port ? > > 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 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple