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: "Philippe Noel" To: "Cygwin-List" Subject: open() function: different behaviours on WinNT ??? Date: Wed, 11 Aug 1999 15:15:39 -0400 Message-ID: <000501bee42d$e5ef0260$400010ac@philippe.socoint.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Hi, I currently have problems with the open() function under WinNT, when I try to open a serial port. When the open function is called, the RTS line raised ( contrary to Linux ). This behaviour is totally unacceptable for me since I'm connecting a radio on the serial port, and the RTS line control the TX carrier. Here is the way I call the open function (very standard way to do this I think): const char* fname = "/dev/com1"; int fd = open( fname, O_RDWR | O_NDELAY ); if (fd != -1) syslog( LOG_DEBUG, "Serial %s is open ok", fname ); else syslog( LOG_ERR, "Can't open %s %m", fname ); Am I doing something wrong? Is there a way to solve this? Please help, I'm really stuck. P H I L I P P E N O E L Socomar International (1995) inc. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com