This is the mail archive of the cygwin@sourceware.cygnus.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 programming


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@sourceware.cygnus.com


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