Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: "Vishnu, Makkapati (IE10)" To: cygwin AT cygwin DOT com Subject: error opening /dev/tty1 on cygwin Date: Tue, 11 Sep 2001 16:14:46 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Hi, I tried to open /dev/tty1 on cygwin and got an error. Here is my code: fd = open ( "/dev/tty1" , O_RDWR | O_NONBLOCK ); if (fd < 0) { perror("io_rs232:: open"); } I did not find the directory /dev on cygwin but ls -l /dev/tty1 works fine. > ls -l /dev/tty1 crw-rw-rw- 1 Everyone Everyone 5, 1 Sep 11 2001 /dev/tty1 Can anyone provide me with a solution to this problem? Thank you. Regards, Vishnu. Vishnu Vardhan Makkapati Software Engineer ____________________ Honeywell > Aerospace Electronics & Engines Solutions & Services Honeywell Software Solutions Lab, 151/1, Doraisanipalya, Bannerghatta Road, Bangalore - 560 076. Tel #: 91-80-6585751 Ext: 2024 Email : vishnu DOT makkapati AT honeywell DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/