From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Faylor To: Baron Shatturday Cc: kpo@tbit.dk, cygwin@sourceware.cygnus.com Subject: Re: Serial port programming Date: Tue, 31 Aug 1999 23:49:00 -0000 Message-ID: <19990823110042.A13837@cygnus.com> References: <37C0EAC4.63151D86@tbit.dk> <199908230653.XAA03904@cygnus.com> X-SW-Source: 1999-08n/msg00561.html Message-ID: <19990831234900.RcBFyOHXe5wcmpjOfdtQCJRUa8oZg2rQySJJqvHZu0I@z> 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