Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Mon, 23 Aug 1999 11:00:42 -0400 To: Baron Shatturday Cc: kpo AT tbit DOT dk, cygwin AT sourceware DOT cygnus DOT com Subject: Re: Serial port programming Message-ID: <19990823110042.A13837@cygnus.com> Mail-Followup-To: Baron Shatturday , kpo AT tbit DOT dk, cygwin AT sourceware DOT cygnus DOT com References: <37C0EAC4 DOT 63151D86 AT tbit DOT dk> <199908230653 DOT XAA03904 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199908230653.XAA03904@cygnus.com>; from Baron Shatturday on Sun, Aug 22, 1999 at 11:53:20PM -0700 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 AT sourceware DOT cygnus DOT com