This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Serial port ?


Probably something to do with ioctl.

----- Original Message -----
From: "Ludovic DELAMOTTE" <l.delamotte@xiring.com>
To: <cygwin@cygwin.com>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]