delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, |
<http://sourceware.cygnus.com/ml/#faqs> | |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Date: | Thu, 5 Aug 1999 13:04:05 -0400 (EDT) |
From: | Hans - Dulimarta <dulimart AT egr DOT msu DOT edu> |
X-Sender: | dulimart AT scully |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Accessing serial port. |
Message-ID: | <Pine.GSO.4.10.9908051257330.12515-100000@scully> |
MIME-Version: | 1.0 |
I am porting my C codes from DJGPP to Cygwin. One of the modules has several lines which read and write to COM1. I rewrite the code using open ("/dev/com1"), read (....), write (....), etc. However, the code seems to hang. The exact same code works fine under Linux by replacing "/dev/com1" to "/dev/ttyS0". Could somebody please help me out. Thanks. Hans Dulimarta, Ph.D. [dulimart AT egr DOT msu DOT edu, dulimart AT computer DOT org] Visiting Research Associate Department of Electrical & Computer Engineering (517) 432-7589 Michigan State University, East Lansing, Michigan 48824 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |